public class SchemaLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected List<org.forgerock.opendj.ldap.schema.MatchingRule> |
matchingRulesToKeep
List of matching rules to keep in the schema.
|
protected List<org.forgerock.opendj.ldap.schema.Syntax> |
syntaxesToKeep
List of attribute syntaxes to keep in the schema.
|
Constructor and Description |
---|
SchemaLoader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.forgerock.opendj.ldap.schema.Schema |
getBaseSchema()
Returns a basic version of the schema.
|
org.forgerock.opendj.ldap.schema.Schema |
getSchema()
Returns the schema that was read.
|
org.forgerock.opendj.ldap.schema.Schema |
readSchema()
Reads and returns the schema.
|
protected final List<org.forgerock.opendj.ldap.schema.MatchingRule> matchingRulesToKeep
protected final List<org.forgerock.opendj.ldap.schema.Syntax> syntaxesToKeep
public SchemaLoader()
public org.forgerock.opendj.ldap.schema.Schema readSchema() throws DirectoryException, org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.ConfigException
- if an error occurs reading the schema.InitializationException
- if an error occurs trying to find out the schema files.DirectoryException
- if there is an error registering the minimal objectclasses.protected org.forgerock.opendj.ldap.schema.Schema getBaseSchema() throws DirectoryException
DirectoryException
- if there is an error registering the minimal objectclasses.public org.forgerock.opendj.ldap.schema.Schema getSchema()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.