Search in sources :

Example 1 with XTSBARecoveryManagerImple

use of org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple 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)1 XTSBARecoveryManagerImple (org.jboss.jbossts.xts.recovery.participant.ba.XTSBARecoveryManagerImple)1