org.jpos.q2.iso
Class ContextMaker
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.iso.ContextMaker
- All Implemented Interfaces:
- Runnable, Configurable, QBean, QBeanSupportMBean, QPersist, Loggeable
public class ContextMaker
- extends QBeanSupport
- implements Runnable, 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.
- Version:
- $Revision: 2854 $ $Date: 2010-01-02 10:34:31 +0000 (Sat, 02 Jan 2010) $
- Author:
- Mark Salter
| Methods inherited from class org.jpos.q2.QBeanSupport |
addAttr, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, isModified, running, setAttr, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextMaker
public ContextMaker()
initService
public void initService()
- Overrides:
initService in class QBeanSupport
startService
public void startService()
- Overrides:
startService in class QBeanSupport
stopService
public void stopService()
- Overrides:
stopService in class QBeanSupport
run
public void run()
- Specified by:
run in interface Runnable
setConfiguration
public void setConfiguration(Configuration cfg)
throws ConfigurationException
- Specified by:
setConfiguration in interface Configurable- Overrides:
setConfiguration in class QBeanSupport
- Parameters:
cfg - Configuration object
- Throws:
ConfigurationException
dump
public void dump(PrintStream p,
String indent)
- Specified by:
dump in interface Loggeable
Copyright © 1998-2012 jPOS.org. All Rights Reserved.