public interface InstanceStateListener
ComponentInstance.addInstanceStateListener(InstanceStateListener)
method. Once registered, the listener can track instance state changes.
Received states are:
ComponentInstance.VALID
ComponentInstance.INVALID
ComponentInstance.STOPPED
ComponentInstance.DISPOSED
Modifier and Type | Method and Description |
---|---|
void |
stateChanged(ComponentInstance instance,
int newState)
State change listener callback method.
|
void stateChanged(ComponentInstance instance, int newState)
instance
- the changing instancenewState
- the new instance stateCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.