public final class CollationMatchingRuleFactory extends MatchingRuleFactory<CollationMatchingRuleCfg> implements ConfigurationChangeListener<CollationMatchingRuleCfg>
| Constructor and Description |
|---|
CollationMatchingRuleFactory()
Creates a new instance of CollationMatchingRuleFactory.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigChangeResult |
applyConfigurationChange(CollationMatchingRuleCfg configuration)
Applies the configuration changes to this change listener.
|
void |
finalizeMatchingRule()
Performs any finalization that may be needed whenever this
matching rule factory is taken out of service.
|
Collection<org.forgerock.opendj.ldap.schema.MatchingRule> |
getMatchingRules()
Returns an umodifiable view of Collection of associated
MatchingRules.
|
void |
initializeMatchingRule(CollationMatchingRuleCfg configuration)
Initializes the matching rule(s) based on the information in the
provided configuration entry.
|
boolean |
isConfigurationChangeAcceptable(CollationMatchingRuleCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is
acceptable to this change listener.
|
isConfigurationAcceptablepublic CollationMatchingRuleFactory()
public final Collection<org.forgerock.opendj.ldap.schema.MatchingRule> getMatchingRules()
getMatchingRules in class MatchingRuleFactory<CollationMatchingRuleCfg>public void initializeMatchingRule(CollationMatchingRuleCfg configuration) throws ConfigException, InitializationException
initializeMatchingRule in class MatchingRuleFactory<CollationMatchingRuleCfg>configuration - The configuration to use to intialize this
matching rule.ConfigException - If an unrecoverable problem arises in
the process of performing the
initialization.InitializationException - If a problem that is not
configuration-related occurs
during initialization.public void finalizeMatchingRule()
finalizeMatchingRule in class MatchingRuleFactory<CollationMatchingRuleCfg>public ConfigChangeResult applyConfigurationChange(CollationMatchingRuleCfg configuration)
applyConfigurationChange in interface ConfigurationChangeListener<CollationMatchingRuleCfg>configuration - The new configuration containing the changes.public boolean isConfigurationChangeAcceptable(CollationMatchingRuleCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface ConfigurationChangeListener<CollationMatchingRuleCfg>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.true if the proposed change is
acceptable, or false if it is not.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.