Class QConfig
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.qbean.QConfig
- All Implemented Interfaces:
Configurable, QBean, QBeanSupportMBean, QPersist
-
Field Summary
FieldsFields inherited from class QBeanSupport
cfg, log, scheduledThreadPoolExecutor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic ConfigurationgetConfiguration(String name) static ConfigurationgetConfiguration(String name, long timeout) protected voidMethods 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, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, startService, stop, stopService
-
Field Details
-
PREFIX
-
-
Constructor Details
-
QConfig
public QConfig()
-
-
Method Details
-
initService
- Overrides:
initServicein classQBeanSupport
-
destroyService
- Overrides:
destroyServicein classQBeanSupport
-
getConfiguration
- Throws:
NameRegistrar.NotFoundException
-
getConfiguration
- Parameters:
name- configuration nametimeout- in millis- Returns:
- Configuration object or null
-