| java.lang.Object org.mmbase.bridge.implementation.ModuleHandler
ModuleHandler | public class ModuleHandler implements Module,InvocationHandler(Code) | | ModuleHandler
Creates a framework for calling modules.
Supports calls to the methods supported by the MMBase ProcessorModules.
author: Pierre van Rooden author: Rob Vermeulen version: $Id: ModuleHandler.java,v 1.37 2007/08/02 10:06:12 michiel Exp $ |
Method Summary | |
public int | compareTo(Module m) Compares this module to the passed object.
Returns 0 if they are equal, -1 if the object passed is a NodeManager and larger than this manager,
and +1 if the object passed is a NodeManager and smaller than this manager.
A module is 'larger' than another module if its name is larger (alphabetically, case sensitive)
than that of the other module. | public Parameters | createParameters(String functionName) | public boolean | equals(Object o) Compares two modules, and returns true if they are equal. | protected Cloud | getCloud(Map parameters) | public CloudContext | getCloudContext() | public String | getDescription() | public String | getDescription(Locale locale) | public Function | getFunction(String functionName) | public FieldValue | getFunctionValue(String functionName, List parameters) | public Collection | getFunctions() | public String | getGUIName(Locale locale) | public String | getGUIName() | public String | getInfo(String command) | public String | getInfo(String command, ServletRequest req, ServletResponse resp) | public NodeList | getList(String command, Map parameters) | public NodeList | getList(String command, Map parameters, ServletRequest req, ServletResponse resp) | public LocalizedString | getLocalizedDescription() | public LocalizedString | getLocalizedGUIName() | public static synchronized Module | getModule(org.mmbase.module.Module mod, CloudContext cloudcontext) | public String | getName() | public Map | getProperties() | public String | getProperty(String name) | public Object | invoke(Object proxy, Method method, Object[] args) | public void | process(String command, Object parameter) | public void | process(String command, Object parameter, Map auxparameters) | public void | process(String command, Object parameter, Map auxparameters, ServletRequest req, ServletResponse resp) | public void | setDescription(String desc, Locale locale) | public void | setDescription(String desc) | public void | setGUIName(String g, Locale locale) | public void | setGUIName(String g) | protected void | setLocalizedDescription(LocalizedString description) | protected void | setLocalizedGUIName(LocalizedString value) |
compareTo | public int compareTo(Module m)(Code) | | Compares this module to the passed object.
Returns 0 if they are equal, -1 if the object passed is a NodeManager and larger than this manager,
and +1 if the object passed is a NodeManager and smaller than this manager.
A module is 'larger' than another module if its name is larger (alphabetically, case sensitive)
than that of the other module. If names are the same, the modules are compared on cloud context.
Parameters: o - the object to compare it with |
equals | public boolean equals(Object o)(Code) | | Compares two modules, and returns true if they are equal.
Parameters: o - the object to compare it with |
getProperties | public Map getProperties()(Code) | | |
|
|