public class RemoteSchemaLoader extends SchemaLoader
matchingRulesToKeep, syntaxesToKeep
Constructor and Description |
---|
RemoteSchemaLoader()
In remote mode we cannot load the matching rules and syntaxes from local
configuration, so we should instead bootstrap them from the SDK's core schema.
|
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema()
Returns the schema that was read.
|
void |
readSchema(InitialLdapContext ctx)
Reads the schema.
|
getBaseSchema, readSchema
public RemoteSchemaLoader()
public void readSchema(InitialLdapContext ctx) throws NamingException, DirectoryException, InitializationException, org.forgerock.opendj.config.server.ConfigException
ctx
- the connection to be used to load the schema.NamingException
- if an error occurs reading the schema.DirectoryException
- if an error occurs parsing the schema.InitializationException
- if an error occurs finding the base schema.org.forgerock.opendj.config.server.ConfigException
- if an error occurs loading the configuration required to use the
schema classes.public Schema getSchema()
getSchema
in class SchemaLoader
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.