public class CoreSchemaProvider extends Object implements SchemaProvider<org.forgerock.opendj.server.config.server.CoreSchemaCfg>, org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.CoreSchemaCfg>
| Constructor and Description |
|---|
CoreSchemaProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration) |
void |
finalizeProvider()
Finalize the provider.
|
void |
initialize(ServerContext serverContext,
org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration,
org.forgerock.opendj.ldap.schema.SchemaBuilder initialSchemaBuilder)
Initialize the schema provider from provided configuration and schema
builder.
|
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this
provider.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
public CoreSchemaProvider()
public void initialize(ServerContext serverContext, org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration, org.forgerock.opendj.ldap.schema.SchemaBuilder initialSchemaBuilder) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
SchemaProviderinitialize in interface SchemaProvider<org.forgerock.opendj.server.config.server.CoreSchemaCfg>serverContext - The server context.configuration - Configuration of the provider.initialSchemaBuilder - Schema builder to update during initialization phase.org.forgerock.opendj.config.server.ConfigException - If a configuration problem arises in the process of performing
the initialization.InitializationException - If a problem that is not configuration-related occurs during
initialization.public void finalizeProvider()
SchemaProviderfinalizeProvider in interface SchemaProvider<org.forgerock.opendj.server.config.server.CoreSchemaCfg>public boolean isConfigurationAcceptable(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration, List<LocalizableMessage> unacceptableReasons)
SchemaProviderisConfigurationAcceptable in interface SchemaProvider<org.forgerock.opendj.server.config.server.CoreSchemaCfg>configuration - The provider 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
provider, or false if not.public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.CoreSchemaCfg>public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.CoreSchemaCfg configuration)
applyConfigurationChange in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.CoreSchemaCfg>Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.