org.apache.felix.ipojo
Interface InstanceStateListener

All Known Implementing Classes:
HandlerManager, InstanceManager

public interface InstanceStateListener

Instance state listener. This listener allows anyone to be notified when the listened instance state changes.

Author:
Felix Project Team

Method Summary
 void stateChanged(ComponentInstance instance, int newState)
          State change listener.
 

Method Detail

stateChanged

void stateChanged(ComponentInstance instance,
                  int newState)
State change listener. Each time an instance state change, this method is called.

Parameters:
instance - : changing instance
newState - : new instance state