there are also methods like
String newPasswd = userNodeManager.getInfo("newpassword");
and
NodeList getList(java.lang.String command, java.util.Hashtable
parameters)
what about those 'functions' ?
On Fri, 2002-06-28 at 22:28, Michiel Meeuwissen wrote:
>
> I've another request.
>
> I think we need a nicer way to call 'functions' on a node.
>
> The way is now:
>
> node.getValue("some_function(some_argument)");
>
> Perhaps it would be nicer:
>
> node.getFunctionValue("some_function", "some_argument");
>
> Or perhaps more generic:
>
> Map args = new HashMap();
> arg.put("a", "b");
> node.getFunctionValue("some_function", args);
>
> I'd like named arguments but a List argument would satisfy me nearly as much
> :-)
>
> The implementation could be a mapping to executeFunction of MMObjectBuilder
> to start with, but when ever there will be a 'core2' (= alternative
> implementation of the bridge), this could be done more nicely.
>
>
> On the other hand are those 'string' functions rather convenient too, but
> one could suppose that they compromise implementation efficiency.
>
> Michiel
>
>
> --
> Michiel Meeuwissen
> Mediapark, C 107 tel. +31 (0)35 6772979
>
>
>
>