/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }