Class DailyService
java.lang.Object
org.exoplatform.commons.notification.job.mbeans.DailyService
- All Implemented Interfaces:
org.picocontainer.Startable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanGet state of servicevoidoff()Change state of service to OFFvoidon()Change state of service to ONvoidsetManagement(DailyJobManager manager) voidstart()Register this instance as managed objectvoidstop()
-
Constructor Details
-
DailyService
public DailyService()
-
-
Method Details
-
setManagement
-
start
public void start()Register this instance as managed object- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
on
public void on()Change state of service to ON -
off
public void off()Change state of service to OFF -
isStarted
public static boolean isStarted()Get state of service- Returns:
-