* @see FSMPreEnterListener.
*/
public void preEnter ( FSMEnterEvent<TxState> event ) throws IllegalStateException
{
TxState state = event.getState ();
if ( state.equals ( TxState.TERMINATED )
|| state.equals ( TxState.HEUR_ABORTED )
|| state.equals ( TxState.HEUR_COMMITTED )
|| state.equals ( TxState.HEUR_HAZARD )
|| state.equals ( TxState.HEUR_MIXED ) ) {
if ( !state.equals ( TxState.TERMINATED ) )
LOGGER.logWarning ( "Local heuristic termination of coordinator "
+ root_ + " with state " + getState () );
else
dispose ();
}