@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; registrySynchronizer.deactivate(); }
@Override public void activate() throws CouldNotPerformException, InterruptedException { active = true; registrySynchronizer.activate(); }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; locationRegistrySynchronizer.deactivate(); connectionRegistrySynchronizer.deactivate(); unitGroupRegistrySynchronizer.deactivate(); }
@Override public void activate() throws CouldNotPerformException, InterruptedException { active = true; registrySynchronizer.activate(); }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; registrySynchronizer.deactivate(); }
@Override public void activate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Activating " + getClass().getName() + "."); if (!initialized) { throw new CouldNotPerformException("Activate can only be called after init."); } if (!active) { active = true; Registries.waitForData(); LOGGER.info("Activating Registry synchronization."); selectableObjectRegistrySynchronizer.activate(); rsbConnection.activate(); } }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Deactivating " + getClass().getName() + "."); if (active) { active = false; rsbConnection.deactivate(); LOGGER.info("Deactivating Registry synchronization."); selectableObjectRegistrySynchronizer.deactivate(); } }
/** * {@inheritDoc} * * @throws CouldNotPerformException {@inheritDoc} * @throws InterruptedException {@inheritDoc} */ @Override public void activate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Activating " + getClass().getName() + "."); if (!initialized) { throw new CouldNotPerformException("Activate can only be called after init."); } if (!active) { active = true; Registries.waitForData(); LOGGER.info("Activating Registry synchronization."); controllableObjectRegistrySynchronizer.activate(); rsbConnection.activate(); } }
/** * {@inheritDoc} * * @throws CouldNotPerformException {@inheritDoc} * @throws InterruptedException {@inheritDoc} */ @Override public void deactivate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Deactivating " + getClass().getName() + "."); if (active) { active = false; rsbConnection.deactivate(); LOGGER.info("Deactivating Registry synchronization."); controllableObjectRegistrySynchronizer.deactivate(); } }
@Override public void activate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Activating " + getClass().getName() + "."); if (!initialized) { throw new CouldNotPerformException("Activate can only be called after init."); } if (!active) { Registries.waitForData(); LOGGER.info("Activating Registry synchronization."); registryTransformerRegistrySynchronizer.activate(); rsbConnection.activate(); if (mergingEnabled) { mergingScheduler.activate(); } active = true; } }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { LOGGER.info("Deactivating " + getClass().getName() + "."); if (active) { if (mergingEnabled) { mergingScheduler.deactivate(); } rsbConnection.deactivate(); LOGGER.info("Deactivating Registry synchronization."); registryTransformerRegistrySynchronizer.deactivate(); active = false; } }