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.

Only CommunityPrc, JDBC, MMAdmin and XslConvert implements getList.
None of the SCAN ProcessorModules is overriding getList and the implementation in ProcessorModule is.

public Vector getList(PageInfo sp,StringTagger params, String command) { throw new UnsupportedOperationException("Module " + this.getClass().getName() + " does not implement LIST");
    }

If I am correct, getNodeList will only succeed for CommunityPrc, JDBC, MMAdmin and XslConvert all other ProcessorModules will throw an UnsupportedOperationException. SCAN calls getList and will get the same results as getNodeList

Nico

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

Reply via email to