Class ContextMaker
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.iso.ContextMaker
- All Implemented Interfaces:
Runnable, Configurable, QBean, QBeanSupportMBean, QPersist, Loggeable
A utility QBean to provide the ability to monitor an 'in' queue for items that will be placed in
Context, along with any specified context-values and then place on the 'out' queue - for a
TransactionManager to process.
-
Field Summary
Fields inherited from class QBeanSupport
cfg, log, scheduledThreadPoolExecutor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(PrintStream p, String indent) voidvoidrun()voidvoidvoidMethods inherited from class QBeanSupport
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, isModified, running, setAttr, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
-
Constructor Details
-
ContextMaker
public ContextMaker()
-
-
Method Details
-
initService
- Overrides:
initServicein classQBeanSupport
-
startService
- Overrides:
startServicein classQBeanSupport
-
stopService
- Overrides:
stopServicein classQBeanSupport
-
run
-
setConfiguration
- Specified by:
setConfigurationin interfaceConfigurable- Overrides:
setConfigurationin classQBeanSupport- Parameters:
cfg- Configuration object- Throws:
ConfigurationException
-
dump
-