org.mmbase.module
Class TransactionHandler

java.lang.Object
  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.

Author:
John Balder: 3MPS, Rob Vermeulen: VPRO
Deprecated-now:
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
TransactionHandler()
           
 
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()
          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

TransactionHandler

public TransactionHandler()
Method Detail

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


MMBase 2.0-SNAPSHOT - null