T
- The type of configuration handled by this matching
rule.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=false) public abstract class MatchingRuleFactory<T extends MatchingRuleCfg> extends Object
Constructor and Description |
---|
MatchingRuleFactory() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeMatchingRule()
Performs any finalization that may be needed whenever this
matching rule factory is taken out of service.
|
abstract Collection<org.forgerock.opendj.ldap.schema.MatchingRule> |
getMatchingRules()
Returns an umodifiable view of Collection of associated
MatchingRules.
|
abstract void |
initializeMatchingRule(T configuration)
Initializes the matching rule(s) based on the information in the
provided configuration entry.
|
boolean |
isConfigurationAcceptable(T configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this matching rule.
|
public MatchingRuleFactory()
public abstract void initializeMatchingRule(T configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
configuration
- The configuration to use to intialize this
matching rule.org.forgerock.opendj.config.server.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()
public boolean isConfigurationAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
configuration
- The matching rule configuration for
which to make the determination.unacceptableReasons
- A list that may be used to hold the
reasons that the provided
configuration is not acceptable.true
if the provided configuration is acceptable
for this matching rule, or false
if not.public abstract Collection<org.forgerock.opendj.ldap.schema.MatchingRule> getMatchingRules()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.