jsr.daemon.pausable
Interface PausableDaemonControl

All Superinterfaces:
DaemonControl

public interface PausableDaemonControl
extends DaemonControl

interface for a service providing container in order to control the life cycle of a pausable daemon


Method Summary
 void start()
          start method called in order to start or restart the daemon
 void stop()
          pause method called in order to stop the daemon
 
Methods inherited from interface jsr.daemon.DaemonControl
destroy, init
 

Method Detail

start

public void start()
           throws DaemonException
start method called in order to start or restart the daemon
Throws:
DaemonException - thrown by the daemon if starting or restarting fails

stop

public void stop()
pause method called in order to stop the daemon