Class DailyService
- java.lang.Object
-
- org.exoplatform.commons.notification.job.mbeans.DailyService
-
- All Implemented Interfaces:
org.picocontainer.Startable
public class DailyService extends Object implements org.picocontainer.Startable
-
-
Constructor Summary
Constructors Constructor Description DailyService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisStarted()Get state of servicevoidoff()Change state of service to OFFvoidon()Change state of service to ONvoidsetManagement(DailyJobManager manager)voidstart()Register this instance as managed objectvoidstop()
-
-
-
Method Detail
-
setManagement
public void setManagement(DailyJobManager manager)
-
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:
-
-