Class TransactionHandler

  extended by org.mmbase.util.functions.FunctionProvider
      extended by org.mmbase.util.functions.DescribedFunctionProvider
          extended by org.mmbase.module.Module
              extended by 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.

John Balder: 3MPS, Rob Vermeulen: VPRO
use org.mmbase.applications.xmlimporter.TransactionHandler

Nested Class Summary
(package private)  class TransactionHandler.ParseTrace
(package private)  class TransactionHandler.TransactionInfo
          container class for objects per transaction
(package private)  class TransactionHandler.User
          Dummy User object, this object needs to be replace by the real User object (when that is finished)
(package private)  class TransactionHandler.UserTransactionInfo
          container class for transactions per user
Field Summary
Fields inherited from class org.mmbase.module.Module
configurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIME
Fields inherited from class org.mmbase.util.functions.DescribedFunctionProvider
description, guiName, name
Fields inherited from class org.mmbase.util.functions.FunctionProvider
functions, getFunctions
Constructor Summary
Method Summary
 void handleTransaction(String template, sessionInfo session, scanpage sp)
          handleTransaction can be called externally and will execute the TCP commands.
 void init()
          initialize the transactionhandler
 void onload()
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 org.mmbase.util.functions.FunctionProvider
addFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstance
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public TransactionHandler()
Method Detail


public void init()
initialize the transactionhandler

init in class Module


public void onload()

onload in class Module


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
template - The template containing the TCP commands
session - variables of an user
sp - the scanpage

MMBase 2.0-SNAPSHOT - null