/** * Perform afterCompletion cleanup activities such as releasing resources. * * Caution: may not be invoked in crash recovery situations. */ public void rollback() throws WrongStateException, SystemException { txbridgeLogger.logger.trace("BridgeVolatileParticipant.rollback(Xid="+xid+")"); afterCompletion(Status.STATUS_ROLLEDBACK); }
/** * Perform afterCompletion cleanup activities such as releasing resources. * * Caution: may not be invoked in crash recovery situations. */ public void commit() throws WrongStateException, SystemException { txbridgeLogger.logger.trace("BridgeVolatileParticipant.commit(Xid="+xid+")"); afterCompletion(Status.STATUS_COMMITTED); }