public class SchemaLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected List<MatchingRule> |
matchingRulesToKeep
List of matching rules to keep in the schema.
|
protected List<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<MatchingRule> matchingRulesToKeep
protected final List<Syntax> syntaxesToKeep
public SchemaLoader()
public void readSchema() throws DirectoryException, ConfigException, InitializationException
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-2017 ForgeRock AS.