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
stateChanged
void stateChanged(ComponentInstance instance,
int newState)
- State change listener.
Each time an instance state change, this method is called.
- Parameters:
instance
- : changing instancenewState
- : new instance state