Package org.jpos.q2.qbean
Class LoggerService
- java.lang.Object
-
- org.jpos.q2.QBeanSupport
-
- org.jpos.q2.qbean.LoggerService
-
- All Implemented Interfaces:
java.lang.Runnable
,Configurable
,QBean
,QBeanSupportMBean
,QPersist
public class LoggerService extends QBeanSupport implements java.lang.Runnable
-
-
Field Summary
-
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log, scheduledThreadPoolExecutor
-
-
Constructor Summary
Constructors Constructor Description LoggerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
setConfiguration(Configuration cfg)
protected void
startService()
protected void
stopService()
-
Methods inherited from class org.jpos.q2.QBeanSupport
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
-
-
-
-
Constructor Detail
-
LoggerService
public LoggerService()
-
-
Method Detail
-
startService
protected void startService() throws ConfigurationException
- Overrides:
startService
in classQBeanSupport
- Throws:
ConfigurationException
-
stopService
protected void stopService()
- Overrides:
stopService
in classQBeanSupport
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
setConfiguration
public void setConfiguration(Configuration cfg) throws ConfigurationException
- Specified by:
setConfiguration
in interfaceConfigurable
- Overrides:
setConfiguration
in classQBeanSupport
- Parameters:
cfg
- Configuration object- Throws:
ConfigurationException
-
-