|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
org.objectweb.jonas.service.AbsServiceImpl
org.ow2.jonas.deployablemonitor.DeployableMonitorService
public class DeployableMonitorService
Service that will launch the Deployable Monitor.
Field Summary | |
---|---|
static String |
DEFAULT_DIRECTORY
Default directory to analyze. |
static String |
DEVELOPMENT_MODE_PROPERTY
Property for the development mode. |
static String |
DIRECTORIES_LIST_PROPERTY
Property for the list of extra directories to analyze. |
protected static String |
JONAS_BASE
The name of the JONAS_BASE directory. |
Fields inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
---|---|
DeployableMonitorService()
Default constructor. |
Method Summary | |
---|---|
protected void |
doInit(Context ctx)
Init the Deployable Monitor service. |
protected void |
doStart()
Start the Deployable Monitor service. |
protected void |
doStop()
Stop the Deployable Monitor service. |
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl |
---|
getDomainName, getJonasServerName, getName, init, isStarted, setName, start, stop |
Methods inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
---|
initLogger, sendReconfigNotification, sendSaveNotification |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Field Detail |
---|
public static final String DEVELOPMENT_MODE_PROPERTY
public static final String DIRECTORIES_LIST_PROPERTY
protected static final String JONAS_BASE
public static final String DEFAULT_DIRECTORY
Constructor Detail |
---|
public DeployableMonitorService()
Method Detail |
---|
protected void doInit(Context ctx) throws ServiceException
doInit
in class AbsServiceImpl
ctx
- the configuration of the Deployable Monitor service.
ServiceException
- if the initialization failed.protected void doStart() throws ServiceException
doStart
in class AbsServiceImpl
ServiceException
- if the startup failed.protected void doStop() throws ServiceException
doStop
in class AbsServiceImpl
ServiceException
- if the stop failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |