Pierre van Rooden wrote:
> getNodeList wraps getList. However, getList is deprecated iirc. 
> getNodeList is called by the bridge, while getList is called by SCAN.
> Iow, future implementations (which won't support SCAN) should implement 
> getNodeList instead of getList.
> At least that's what I think should happen.

Perhaps. Btw getNodeList is not very nice either. It returns a Vector
(rather then List), and it's first argument is 'Object' (wtf!)

My proposal would be to ignore/deprecate Modules completely when it
comes to adding functionality. A module as a thing that is started
together with MMBase may have it's use. Bridge-accessible functionality
can be added  to nodes, builders or 'sets', perhaps initiated by a
Module. Oh, accidently, Module extends FunctionProvider, so
'addFunction' would do too, then getNodeList (and process, getInfo) can
itself be deprecated, because basicly it's just a function with a given
return type.


Michiel



-- 
Michiel Meeuwissen                  mihxil'
Peperbus 111 MediaPark H'sum          [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to