|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
The Processor Module extends the baisc module to the Processor interface so it can perform for servscan (pagelets).
| Constructor Summary | |
ProcessorModule()
|
|
| Method Summary | |
boolean |
cacheCheck(scanpage sp,
java.lang.String cmd)
Do a cache check (304) for this request |
java.util.Vector |
getList(scanpage sp,
StringTagger params,
java.lang.String command)
Generate a list of values from a command to the processor |
MMObjectBuilder |
getListBuilder(java.lang.String command,
java.util.Map params)
Returns a virtual builder used to create node lists from the results returned by getList(). |
java.util.Vector |
getNodeList(java.lang.Object context,
java.lang.String command,
java.util.Map params)
Generate a list of values from a command to the processor. |
void |
init()
Initializes the module. |
void |
onload()
|
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
void |
reload()
|
java.lang.String |
replace(scanpage sp,
java.lang.String command)
Replace a command by a string |
java.lang.String |
replace(scanpage sp,
StringTagger command)
Replace a command by a string who the hell uses this (daniel) |
void |
shutdown()
Shuts down the module. |
void |
unload()
|
| Methods inherited from class org.mmbase.module.Module |
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, setInitParameter, setMaintainer, setName, setVersion, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProcessorModule()
| Method Detail |
public MMObjectBuilder getListBuilder(java.lang.String command,
java.util.Map params)
getListBuilder in interface ProcessorInterfacecommand - the LIST command for which to retrieve the builderparams - contains the attributes for the list
public java.util.Vector getNodeList(java.lang.Object context,
java.lang.String command,
java.util.Map params)
throws ParseException
getNodeList in interface ProcessorInterfacecontext - the context of the page or calling application (currently, this should be a scanpage object)command - the list command to execute.params - contains the attributes for the listVector that contains the list values contained in MMObjectNode objects
public java.util.Vector getList(scanpage sp,
StringTagger params,
java.lang.String command)
throws ParseException
getList in interface ProcessorInterfacesp - the page contextparams - contains the attributes for the listcommand - the list command to execute.
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in interface ProcessorInterface
public java.lang.String replace(scanpage sp,
java.lang.String command)
replace in interface ProcessorInterface
public java.lang.String replace(scanpage sp,
StringTagger command)
replace in interface ProcessorInterface
public boolean cacheCheck(scanpage sp,
java.lang.String cmd)
cacheCheck in interface ProcessorInterfacepublic void init()
ModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class Modulepublic void reload()
public void onload()
onload in class Modulepublic void unload()
public void shutdown()
Moduleshutdown in class Module
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||