Class RootContainer
- java.lang.Object
-
- org.opends.server.backends.pluggable.RootContainer
-
- All Implemented Interfaces:
ConfigurationChangeListener<PluggableBackendCfg>
public 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigChangeResult
applyConfigurationChange(PluggableBackendCfg configuration)
Applies the configuration changes to this change listener.boolean
isConfigurationChangeAcceptable(PluggableBackendCfg configuration, List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener.
-
-
-
Method Detail
-
isConfigurationChangeAcceptable
public boolean isConfigurationChangeAcceptable(PluggableBackendCfg configuration, List<LocalizableMessage> unacceptableReasons)
Description copied from interface:ConfigurationChangeListener
Indicates whether the proposed change to the configuration is acceptable to this change listener.- Specified by:
isConfigurationChangeAcceptable
in 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
true
if the proposed change is acceptable, orfalse
if it is not.
-
applyConfigurationChange
public ConfigChangeResult applyConfigurationChange(PluggableBackendCfg configuration)
Description copied from interface:ConfigurationChangeListener
Applies the configuration changes to this change listener.- Specified by:
applyConfigurationChange
in interfaceConfigurationChangeListener<PluggableBackendCfg>
- Parameters:
configuration
- The new configuration containing the changes.- Returns:
- Returns information about the result of changing the configuration.
-
-