jsr.daemon
Interface DaemonControl
- All Known Subinterfaces:
- PausableDaemonControl
- public interface DaemonControl
interface for a service providing container in order to control the life cycle of a daemon
Method Summary |
void |
destroy()
destruction method called in order to stop and shutdown a daemon |
void |
init()
initialization method called in order to initialize and start a daemon |
init
public void init()
throws DaemonException
- initialization method called in order to initialize and start a daemon
- Throws:
DaemonException
- thrown by the daemon if initialization fails
destroy
public void destroy()
- destruction method called in order to stop and shutdown a daemon