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
 

Method Detail

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 state
active - flag indicating the target activity state
throwable - a throwable for indicating a possible exception