org.mmbase.module
Class TransactionHandler
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.util.functions.DescribedFunctionProvider
org.mmbase.module.Module
org.mmbase.module.TransactionHandler
- All Implemented Interfaces:
- Descriptor, TransactionHandlerInterface
public class TransactionHandler
- extends Module
- implements TransactionHandlerInterface
TransactionHandler Module
This class parses the TML code and calls the appropriate methods
in TransactionManager TemporarayNodeManager org.mmabse.module.core
Furthermore it does some nameserving.
- Author:
- John Balder: 3MPS, Rob Vermeulen: VPRO
- Deprecated-now:
- use org.mmbase.applications.xmlimporter.TransactionHandler
| 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 |
TransactionHandler
public TransactionHandler()
init
public void init()
- initialize the transactionhandler
- Overrides:
init in class Module
onload
public void onload()
- onLoad
- Overrides:
onload in class Module
handleTransaction
public void handleTransaction(String template,
sessionInfo session,
scanpage sp)
- handleTransaction can be called externally and will execute the TCP commands.
- Specified by:
handleTransaction in interface TransactionHandlerInterface
- Parameters:
template - The template containing the TCP commandssession - variables of an usersp - the scanpage
MMBase Scan 2.0-SNAPSHOT - 2013-05-29T22:21