@Override public void deactivate() throws CouldNotPerformException, InterruptedException { userRegistrySynchronizer.deactivate(); authorizationGroupRegistrySynchronizer.deactivate(); userRegistry.clear(); authorizationGroupRegistry.clear(); }
/** * {@inheritDoc} * * @return {@inheritDoc} * @throws CouldNotPerformException {@inheritDoc} */ @Override public List<UnitConfig> getDalUnitConfigs() throws CouldNotPerformException { return dalUnitConfigRegistry.getMessages(); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public Boolean isDeviceClassRegistryConsistent() throws CouldNotPerformException { return deviceClassRegistry.isConsistent(); }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; locationRegistrySynchronizer.deactivate(); connectionRegistrySynchronizer.deactivate(); unitGroupRegistrySynchronizer.deactivate(); }
/** * {@inheritDoc} * * @param deviceClassId * @return * @throws CouldNotPerformException */ @Override public Boolean containsDeviceClassById(String deviceClassId) throws CouldNotPerformException { return deviceClassRegistry.contains(deviceClassId); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public Boolean isUnitTemplateRegistryReadOnly() throws CouldNotPerformException { return unitTemplateRegistry.isReadOnly(); }
/** * {@inheritDoc} * * @return {@inheritDoc} * @throws CouldNotPerformException {@inheritDoc} */ @Override public Boolean isAgentClassRegistryConsistent() throws CouldNotPerformException { return agentClassRegistry.isConsistent(); }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; registrySynchronizer.deactivate(); }
/** * {@inheritDoc} * * @param groupConfigId * @return * @throws CouldNotPerformException */ @Override public Boolean containsUnitGroupConfigById(final String groupConfigId) throws CouldNotPerformException { return unitGroupUnitConfigRegistry.contains(groupConfigId); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public List<UnitTemplate> getUnitTemplates() throws CouldNotPerformException { return unitTemplateRegistry.getMessages(); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public Boolean isDeviceClassRegistryReadOnly() throws CouldNotPerformException { return deviceClassRegistry.isReadOnly(); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public Boolean isUnitGroupConfigRegistryConsistent() throws CouldNotPerformException { return unitGroupUnitConfigRegistry.isConsistent(); }
@Override public void deactivate() throws CouldNotPerformException, InterruptedException { active = false; registrySynchronizer.deactivate(); }
/** * {@inheritDoc} * * @param unitTemplate {@inheritDoc} * @return {@inheritDoc} * @throws CouldNotPerformException {@inheritDoc} */ @Override public Boolean containsUnitTemplate(final UnitTemplate unitTemplate) throws CouldNotPerformException { return unitTemplateRegistry.contains(unitTemplate); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public List<DeviceClass> getDeviceClasses() throws CouldNotPerformException { return deviceClassRegistry.getMessages(); }
/** * {@inheritDoc} * * @return * @throws CouldNotPerformException */ @Override public Boolean isUnitGroupConfigRegistryReadOnly() throws CouldNotPerformException { return unitGroupUnitConfigRegistry.isReadOnly(); }
/** * {@inheritDoc} * * @param deviceClass * @return * @throws CouldNotPerformException */ @Override public Boolean containsDeviceClass(DeviceClass deviceClass) throws CouldNotPerformException { return deviceClassRegistry.contains(deviceClass); }