Class RootContainer
java.lang.Object
org.opends.server.backends.pluggable.RootContainer
- All Implemented Interfaces:
ConfigurationChangeListener<PluggableBackendCfg>
public final class RootContainer
extends Object
implements ConfigurationChangeListener<PluggableBackendCfg>
Wrapper class for a backend "container". Root container holds all the entry containers for each base DN. It also
maintains all the openings and closings of the entry containers.
-
Method Summary
Modifier and TypeMethodDescriptionapplyConfigurationChange(PluggableBackendCfg configuration) Applies the configuration changes to this change listener.booleanisConfigurationChangeAcceptable(PluggableBackendCfg configuration, List<LocalizableMessage> unacceptableReasons) Indicates whether the proposed change to the configuration is acceptable to this change listener.
-
Method Details
-
isConfigurationChangeAcceptable
public boolean isConfigurationChangeAcceptable(PluggableBackendCfg configuration, List<LocalizableMessage> unacceptableReasons) Description copied from interface:ConfigurationChangeListenerIndicates whether the proposed change to the configuration is acceptable to this change listener.- Specified by:
isConfigurationChangeAcceptablein interfaceConfigurationChangeListener<PluggableBackendCfg>- Parameters:
configuration- The new configuration containing the changes.unacceptableReasons- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
trueif the proposed change is acceptable, orfalseif it is not.
-
applyConfigurationChange
Description copied from interface:ConfigurationChangeListenerApplies the configuration changes to this change listener.- Specified by:
applyConfigurationChangein interfaceConfigurationChangeListener<PluggableBackendCfg>- Parameters:
configuration- The new configuration containing the changes.- Returns:
- Returns information about the result of changing the configuration.
-