|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.Module
org.mmbase.applications.xmlimporter.TransactionHandler
This class parses the TML code and calls the appropriate methods in TransactionManager TemporarayNodeManager org.mmabse.module.core Furthermore is does some nameserving.
| Constructor Summary | |
TransactionHandler()
Create new TransactionHandler. |
|
| Method Summary | |
void |
handleTransaction(java.io.Reader input,
Consultant consultant)
parses transactions xml file delivered by the reader and executes the TCP commands. |
void |
handleTransaction(java.lang.String template,
sessionInfo session,
scanpage sp)
special version of handleTransaction for SCAN PAGES this version can be removed if scan is not supported anymore parses transactions xml file delivered by the reader and executes the TCP commands. |
void |
handleTransactionAsynchronously(java.io.Reader input,
Consultant consultant)
starts handleTransaction(java.io.Reader input) in a seperate thread |
void |
init()
Initialize the transactionhandler module. |
void |
onload()
This method is called on loading of the transactionhandler module and writes a log entry that the TransactionHandler is loaded. |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setInitParameter, setMaintainer, setName, setVersion, shutdown, 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 TransactionHandler()
| Method Detail |
public void onload()
onload in class Modulepublic void init()
init in class Module
public void handleTransaction(java.lang.String template,
sessionInfo session,
scanpage sp)
handleTransaction in interface TransactionHandlerInterfacetemplate - the template containing the TCP commandssession - the session variables of a usersp - the scanpage
public void handleTransactionAsynchronously(java.io.Reader input,
Consultant consultant)
input - inputconsultant - The intermediate import object. Used to set and get status from and set and get objects to and from.
public void handleTransaction(java.io.Reader input,
Consultant consultant)
input - the connection to the input sourceconsultant - The intermediate import object. Used to set and get status from and set and get objects to and from.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||