org.mmbase.module
Class ProcessorModule
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.util.functions.DescribedFunctionProvider
org.mmbase.module.Module
org.mmbase.module.ProcessorModule
- All Implemented Interfaces:
- Descriptor
- Direct Known Subclasses:
- JDBC, MMAdmin, MMBase
public abstract class ProcessorModule
- extends Module
The Processor Module extends the basic module to the Processor
interface so it can perform for servscan (pagelets).
- Author:
- Daniel Ockeloen
- To Do:
- Should be abstract, deprecated?
|
Method Summary |
List<String> |
getList(PageInfo sp,
StringTagger params,
String command)
|
MMObjectBuilder |
getListBuilder(String command,
Map<String,?> params)
|
List<MMObjectNode> |
getNodeList(Object context,
String command,
Map<String,?> params)
This method is a wrapper around getList(PageInfo, StringTagger, String) |
void |
init()
|
void |
onload()
|
boolean |
process(PageInfo sp,
Hashtable<String,Object> cmds,
Hashtable<String,Object> vars)
|
void |
reload()
Deprecated. called by nothing |
String |
replace(PageInfo sp,
String command)
|
String |
replace(PageInfo sp,
StringTagger command)
|
void |
unload()
Deprecated. called by nothing |
| Methods inherited from class org.mmbase.module.Module |
, addInitParameters, checkModules, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdown, shutdownModules, startModule, startModules |
| Methods inherited from class org.mmbase.util.functions.DescribedFunctionProvider |
getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMS_PAGEINFO
protected static final Parameter[] PARAMS_PAGEINFO
PARAM_PAGEINFO
protected static final Parameter.Wrapper PARAM_PAGEINFO
ProcessorModule
public ProcessorModule()
ProcessorModule
public ProcessorModule(String name)
getListBuilder
public MMObjectBuilder getListBuilder(String command,
Map<String,?> params)
- Javadoc:
getNodeList
public List<MMObjectNode> getNodeList(Object context,
String command,
Map<String,?> params)
- This method is a wrapper around
getList(PageInfo, StringTagger, String)
- Parameters:
context - The PageInfo object. It beats me why it is Object and not PageInfo. I think it's silly.command - The command to executeparams - Parameters, they will be added to the StringTagger.
getList
public List<String> getList(PageInfo sp,
StringTagger params,
String command)
- Javadoc:
process
public boolean process(PageInfo sp,
Hashtable<String,Object> cmds,
Hashtable<String,Object> vars)
- Javadoc:
replace
public String replace(PageInfo sp,
String command)
- Javadoc:
replace
public String replace(PageInfo sp,
StringTagger command)
- Javadoc:
- who the hell uses this (daniel)
reload
public void reload()
- Deprecated. called by nothing
- What should this do, when is this called?
- Javadoc:
unload
public void unload()
- Deprecated. called by nothing
- What should this do, when is this called?
- Javadoc:
init
public void init()
-
- Overrides:
init in class Module
- Scope:
- abstract
onload
public void onload()
-
- Overrides:
onload in class Module
- Scope:
- abstract
MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36