use of org.apache.directory.api.ldap.model.subtree.SubtreeSpecificationParser in project directory-ldap-api by apache.
the class SubtreeSpecificationParserTest method init.
/**
* Initialization
*/
@BeforeClass
public static void init() throws Exception {
JarLdifSchemaLoader loader = new JarLdifSchemaLoader();
schemaManager = new DefaultSchemaManager(loader);
schemaManager.loadAllEnabled();
parser = new SubtreeSpecificationParser(schemaManager);
topOC = schemaManager.lookupObjectClassRegistry("top");
aliasOC = schemaManager.lookupObjectClassRegistry("alias");
countryOC = schemaManager.lookupObjectClassRegistry("country");
personOC = schemaManager.lookupObjectClassRegistry("person");
}
Aggregations