Class WeeklyService
- java.lang.Object
-
- org.exoplatform.commons.notification.job.mbeans.WeeklyService
-
- All Implemented Interfaces:
org.picocontainer.Startable
public class WeeklyService extends Object implements org.picocontainer.Startable
-
-
Constructor Summary
Constructors Constructor Description WeeklyService()
-
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 ONvoidsetManager(WeeklyJobManager manager)voidstart()Register this instance as managed objectvoidstop()
-
-
-
Method Detail
-
setManager
public void setManager(WeeklyJobManager 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:
-
-