Search in sources :

Example 1 with XTSATRecoveryManagerImple

use of org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManagerImple in project narayana by jbosstm.

the class ATCoordinatorRecoveryModule 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 (!XTSATRecoveryManagerImple.isRecoveryManagerInitialised()) {
        XTSATRecoveryManager atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore);
        XTSATRecoveryManager.setRecoveryManager(atRecoveryManager);
    }
    Implementations.install();
}
Also used : XTSATRecoveryManager(org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManager) XTSATRecoveryManagerImple(org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManagerImple)

Aggregations

XTSATRecoveryManager (org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManager)1 XTSATRecoveryManagerImple (org.jboss.jbossts.xts.recovery.participant.at.XTSATRecoveryManagerImple)1