Class WeeklyService
java.lang.Object
org.exoplatform.commons.notification.job.mbeans.WeeklyService
- 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 ONvoidsetManager(WeeklyJobManager manager) voidstart()Register this instance as managed objectvoidstop()
-
Constructor Details
-
WeeklyService
public WeeklyService()
-
-
Method Details
-
setManager
-
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:
-