Search in sources :

Example 11 with XTSBARecoveryManager

use of org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManager in project narayana by jbosstm.

the class BACoordinatorRecoveryModule method install.

/**
 * called by the service startup code before the recovery module is added to the recovery managers
 * module list
 */
public void install() {
    // installed in a single thread
    if (!XTSBARecoveryManagerImple.isRecoveryManagerInitialised()) {
        XTSBARecoveryManager baRecoveryManager = new XTSBARecoveryManagerImple(_recoveryStore);
        XTSBARecoveryManager.setRecoveryManager(baRecoveryManager);
    }
    Implementations.install();
}
Also used : XTSBARecoveryManager(org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManager) XTSBARecoveryManagerImple(org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple)

Aggregations

XTSBARecoveryManager (org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManager)11 InstanceIdentifier (com.arjuna.webservices11.wsarj.InstanceIdentifier)7 CoordinatorCompletionParticipantInboundEvents (com.arjuna.webservices11.wsba.CoordinatorCompletionParticipantInboundEvents)4 ParticipantCompletionParticipantInboundEvents (com.arjuna.webservices11.wsba.ParticipantCompletionParticipantInboundEvents)3 SystemException (com.arjuna.wst.SystemException)3 XTSBARecoveryManagerImple (org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple)1