public final class JECompressedSchema extends CompressedSchema
| Constructor and Description |
|---|
JECompressedSchema(com.sleepycat.je.Environment environment)
Creates a new instance of this JE compressed schema manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the databases and releases any resources held by this compressed
schema manager.
|
protected void |
storeAttribute(byte[] encodedAttribute,
String attributeName,
Collection<String> attributeOptions)
Persists the provided encoded attribute.
|
protected void |
storeObjectClasses(byte[] encodedObjectClasses,
Collection<String> objectClassNames)
Persists the provided encoded object classes.
|
decodeAttribute, decodeObjectClasses, encodeAttribute, encodeObjectClasses, getAllAttributes, getAllObjectClasses, loadAttribute, loadObjectClassespublic JECompressedSchema(com.sleepycat.je.Environment environment) throws com.sleepycat.je.DatabaseException, InitializationException
environment - A reference to the database environment in which the databases
will be held.com.sleepycat.je.DatabaseException - If a database problem occurs while loading the compressed schema
definitions from the database.InitializationException - If an error occurs while loading and processing the compressed
schema definitions.public void close()
protected void storeAttribute(byte[] encodedAttribute, String attributeName, Collection<String> attributeOptions) throws DirectoryException
CompressedSchema.storeObjectClasses(byte[], Collection).storeAttribute in class CompressedSchemaencodedAttribute - The encoded attribute description.attributeName - The user provided attribute type name.attributeOptions - The non-null but possibly empty set of attribute options.DirectoryException - If an error occurred while persisting the encoded attribute.protected void storeObjectClasses(byte[] encodedObjectClasses, Collection<String> objectClassNames) throws DirectoryException
CompressedSchema.storeAttribute(byte[], String, Collection).storeObjectClasses in class CompressedSchemaencodedObjectClasses - The encoded object classes.objectClassNames - The user provided set of object class names.DirectoryException - If an error occurred while persisting the encoded object classes.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.