jsr.daemon
Interface DaemonListener
- All Known Subinterfaces:
- PausableListener
- public interface DaemonListener
interface for supplying listener functionality to be bound to a daemon
Method Summary |
void |
active(Daemon daemon,
boolean active,
java.lang.Throwable throwable)
method called by a daemon if activity state changes |
active
public void active(Daemon daemon,
boolean active,
java.lang.Throwable throwable)
- method called by a daemon if activity state changes
- Parameters:
daemon
- the daemon changing its activity stateactive
- flag indicating the target activity statethrowable
- a throwable for indicating a possible exception