public interface StateChangeListener
XAStatefulHolder state change listener interface.| Modifier and Type | Method and Description |
|---|---|
void |
stateChanged(XAStatefulHolder source,
int oldState,
int newState)
Fired when the internal state of a
XAStatefulHolder has changed. |
void |
stateChanging(XAStatefulHolder source,
int currentState,
int futureState)
Fired before the internal state of a
XAStatefulHolder has changed. |
void stateChanged(XAStatefulHolder source, int oldState, int newState)
XAStatefulHolder has changed.source - the XAStatefulHolder changing state.oldState - the old state of the XAStatefulHolder.newState - the new state of the XAStatefulHolder.void stateChanging(XAStatefulHolder source, int currentState, int futureState)
XAStatefulHolder has changed.source - the XAStatefulHolder changing state.currentState - the current state of the XAStatefulHolder.futureState - the future state of the XAStatefulHolder.Copyright © 2006-2022 Bitronix Software. All Rights Reserved.