public class QConfig extends QBeanSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
cfg, log, scheduledThreadPoolExecutor
Constructor and Description |
---|
QConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
destroyService() |
static Configuration |
getConfiguration(java.lang.String name) |
static Configuration |
getConfiguration(java.lang.String name,
long timeout) |
protected void |
initService() |
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
public static final java.lang.String PREFIX
protected void initService()
initService
in class QBeanSupport
protected void destroyService()
destroyService
in class QBeanSupport
public static Configuration getConfiguration(java.lang.String name) throws NameRegistrar.NotFoundException
NameRegistrar.NotFoundException
public static Configuration getConfiguration(java.lang.String name, long timeout)
name
- configuration nametimeout
- in millis