org.mmbase.module
Class TransactionHandler

java.lang.Object
  |
  +--org.mmbase.module.Module
        |
        +--org.mmbase.module.TransactionHandler
All Implemented Interfaces:
TransactionHandlerInterface

public class TransactionHandler
extends Module
implements TransactionHandlerInterface

TransactionHandler Module

Author:
John Balder: 3MPS, Rob Vermeulen: VPRO This class parses the TML code and calls the appropriate methods in TransactionManager TemporarayNodeManager org.mmabse.module.core Furthermore it does some nameserving.

Constructor Summary
TransactionHandler()
           
 
Method Summary
 void handleTransaction(java.lang.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
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, setInitParameter, setMaintainer, setName, setVersion, startModule, startModules, state
 
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(java.lang.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
the - session variables of an user
sp - the scanpage


MMBase 2001