Class QXmlConfig
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.qbean.QXmlConfig
- All Implemented Interfaces:
Configurable, XmlConfigurable, QBean, QBeanSupportMBean, QPersist
-
Field Summary
FieldsFields inherited from class QBeanSupport
cfg, log, scheduledThreadPoolExecutor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic org.jdom2.ElementgetConfiguration(String name) static org.jdom2.ElementgetConfiguration(String name, long timeout) voidsetConfiguration(org.jdom2.Element e) Methods inherited from class QBeanSupport
addAttr, close, createElement, destroy, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, initService, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, startService, stop, stopService
-
Field Details
-
XML_PREFIX
- See Also:
-
-
Constructor Details
-
QXmlConfig
public QXmlConfig()
-
-
Method Details
-
destroyService
- Overrides:
destroyServicein classQBeanSupport
-
setConfiguration
- Specified by:
setConfigurationin interfaceXmlConfigurable- Parameters:
e- Configuration element
-
getConfiguration
public static org.jdom2.Element getConfiguration(String name) throws NameRegistrar.NotFoundException - Throws:
NameRegistrar.NotFoundException
-
getConfiguration
- Parameters:
name- configuration nametimeout- in millis- Returns:
- Configuration Element or null
-