public class TransactionHandler extends Module
configurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIMEdescription, guiName, namefunctions, getFunctions| Constructor and Description |
|---|
TransactionHandler()
Create new TransactionHandler.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkKey(String key)
Performs JB key test.
|
void |
handleTransaction(Reader input,
Consultant consultant)
parses transactions xml file delivered by the reader and executes the TCP commands.
|
void |
handleTransactionAsynchronously(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.
|
addInitParameters, 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, startModulesgetDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setNameaddFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstancepublic void onload()
public void handleTransactionAsynchronously(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(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.void checkKey(String key) throws TransactionHandlerException
key - The key provided with the transactions.TransactionHandlerException - When the key is rejected,
while in secure mode.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}