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 Schema |
getBaseSchema()
Returns a basic version of the schema.
|
Schema |
getSchema()
Returns the schema that was read.
|
void |
readSchema()
Reads 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 void 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 Schema getBaseSchema() throws DirectoryException
DirectoryException
- if there is an error registering the minimal objectclasses.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.