public class QXmlConfig extends QBeanSupport implements XmlConfigurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_PREFIX |
cfg, log, scheduledThreadPoolExecutor
Constructor and Description |
---|
QXmlConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
destroyService() |
static org.jdom2.Element |
getConfiguration(java.lang.String name) |
static org.jdom2.Element |
getConfiguration(java.lang.String name,
long timeout) |
void |
setConfiguration(org.jdom2.Element e) |
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
public static final java.lang.String XML_PREFIX
protected void destroyService()
destroyService
in class QBeanSupport
public void setConfiguration(org.jdom2.Element e)
setConfiguration
in interface XmlConfigurable
e
- Configuration elementpublic static org.jdom2.Element getConfiguration(java.lang.String name) throws NameRegistrar.NotFoundException
NameRegistrar.NotFoundException
public static org.jdom2.Element getConfiguration(java.lang.String name, long timeout)
name
- configuration nametimeout
- in millis