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 |
---|---|
org.forgerock.opendj.ldap.schema.Schema |
getSchema()
Returns the schema that was read.
|
org.forgerock.opendj.ldap.schema.Schema |
readSchema(ConnectionWrapper connWrapper)
Reads and returns the schema.
|
getBaseSchema, readSchema
public RemoteSchemaLoader()
public org.forgerock.opendj.ldap.schema.Schema readSchema(ConnectionWrapper connWrapper) throws org.forgerock.opendj.ldap.LdapException, DirectoryException, InitializationException, org.forgerock.opendj.config.server.ConfigException
connWrapper
- the connection to be used to load the schema.org.forgerock.opendj.ldap.LdapException
- 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 org.forgerock.opendj.ldap.schema.Schema getSchema()
getSchema
in class SchemaLoader
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.