public synchronized void stop(StopContext context) { suspendControllerInjector.getValue().unRegisterActivity(recoverySuspendController); try { recoveryManagerService.stop(); } catch (Exception e) { // todo log } recoveryManagerService.destroy(); recoveryManagerService = null; recoverySuspendController = null; }
recoveryEnvironmentBean.setRecoveryActivators(null); final RecoveryManagerService recoveryManagerService = new RecoveryManagerService(); try { recoveryManagerService.create(); } catch (Exception e) { throw TransactionLogger.ROOT_LOGGER.managerStartFailure(e, "Recovery"); recoveryManagerService.start(); recoveryManagerService.create(); recoveryManagerService.start(); this.recoveryManagerService = recoveryManagerService; } catch (Exception e) {
@Override public void resume() { recoveryManagerService.resume(); }
@Override public void stop() throws Exception { super.stop(); ORB.getInstance(TransactionManagerService.ORB_NAME).shutdown(); } }
@Override public void preSuspend(ServerActivityCallback serverActivityCallback) { recoveryManagerService.suspend(); serverActivityCallback.done(); }
@Override public void preSuspend(ServerActivityCallback serverActivityCallback) { recoveryManagerService.suspend(); serverActivityCallback.done(); }
recoveryEnvironmentBean.setRecoveryActivators(null); final RecoveryManagerService recoveryManagerService = new RecoveryManagerService(); try { recoveryManagerService.create(); } catch (Exception e) { throw TransactionLogger.ROOT_LOGGER.managerStartFailure(e, "Recovery"); recoveryManagerService.start(); recoveryManagerService.create(); recoveryManagerService.start(); this.recoveryManagerService = recoveryManagerService; } catch (Exception e) {
public synchronized void stop(StopContext context) { suspendControllerInjector.getValue().unRegisterActivity(recoverySuspendController); try { recoveryManagerService.stop(); } catch (Exception e) { // todo log } recoveryManagerService.destroy(); recoveryManagerService = null; recoverySuspendController = null; }
@Override public void preSuspend(ServerActivityCallback serverActivityCallback) { recoveryManagerService.suspend(); serverActivityCallback.done(); }
@Override public void resume() { recoveryManagerService.resume(); }
recoveryEnvironmentBean.setRecoveryActivators(null); final RecoveryManagerService recoveryManagerService = new RecoveryManagerService(); try { recoveryManagerService.create(); } catch (Exception e) { throw TransactionLogger.ROOT_LOGGER.managerStartFailure(e, "Recovery"); recoveryManagerService.start(); recoveryManagerService.create(); recoveryManagerService.start(); this.recoveryManagerService = recoveryManagerService; } catch (Exception e) {
public synchronized void stop(StopContext context) { suspendControllerInjector.getValue().unRegisterActivity(recoverySuspendController); try { recoveryManagerService.stop(); } catch (Exception e) { // todo log } recoveryManagerService.destroy(); recoveryManagerService = null; recoverySuspendController = null; }
@Override public void resume() { recoveryManagerService.resume(); }