public abstract class QBeanAsyncSupport extends QBeanSupport
cfg, log, scheduledThreadPoolExecutor
Constructor and Description |
---|
QBeanAsyncSupport() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doStart() |
protected abstract void |
doStop() |
void |
setConfiguration(Configuration cfg) |
protected void |
startService() |
protected void |
stopService() |
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, initService, isModified, running, setAttr, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
protected final void startService() throws java.lang.Exception
startService
in class QBeanSupport
java.lang.Exception
protected abstract void doStart() throws java.lang.Exception
java.lang.Exception
protected final void stopService() throws java.lang.Exception
stopService
in class QBeanSupport
java.lang.Exception
protected abstract void doStop() throws java.lang.Exception
java.lang.Exception
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
setConfiguration
in class QBeanSupport
cfg
- Configuration objectConfigurationException