public synchronized void forget ( ) throws XAException { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "forget" , _txn ) ; // replay must have finished if ( _tranManager . isReplayComplete ( ) ) { _heuristic = StatefulResource . NONE ; _txn . notifyCompletion ( ) ; } else { if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "forget" , "throwing XAER_RMFAIL" ) ; throw new XAException ( XAException . XAER_RMFAIL ) ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "forget" ) ; }
Informs the object that the transaction is to be forgotten