Class InMemorySchemaPartition
java.lang.Object
org.apache.directory.server.core.api.partition.AbstractPartition
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
org.apache.directory.server.core.partition.impl.avl.AvlPartition
org.apache.directory.server.core.partition.ldif.AbstractLdifPartition
org.jboss.as.test.integration.ldap.InMemorySchemaPartition
- All Implemented Interfaces:
org.apache.directory.server.core.api.partition.Partition,org.apache.directory.server.xdbm.Store
public class InMemorySchemaPartition
extends org.apache.directory.server.core.partition.ldif.AbstractLdifPartition
In-memory schema-only partition which loads the data in the similar way as the
org.apache.directory.api.ldap.schemaloader.JarLdifSchemaLoader.- Author:
- Josef Cacek
-
Field Summary
Fields inherited from class org.apache.directory.server.core.partition.ldif.AbstractLdifPartition
CONF_FILE_EXTN, defaultCSNFactoryFields inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
ADD_CHILD, administrativeRoleAT, adminRoleIdx, aliasCache, aliasedObjectNameAT, aliasIdx, cacheSize, contextCsnAT, DEFAULT_CACHE_SIZE, entryCsnAT, entryCsnIdx, entryDnAT, entryUuidAT, isSyncOnWrite, master, objectClassAT, objectClassIdx, oneAliasIdx, optimizerEnabled, partitionPath, piarCache, presenceAT, presenceIdx, rdnIdx, REMOVE_CHILD, subAliasIdx, systemIndices, userIndicesFields inherited from class org.apache.directory.server.core.api.partition.AbstractPartition
contextEntry, ctxCsnChanged, dnFactory, id, initialized, schemaManager, suffixDnFields inherited from interface org.apache.directory.server.core.api.partition.Partition
DEFAULT_ID, ROOT_IDFields inherited from interface org.apache.directory.server.xdbm.Store
SYS_INDEX_OID_ARRAY, SYS_INDEX_OIDS -
Constructor Summary
ConstructorsConstructorDescriptionInMemorySchemaPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) Filesystem path separator pattern, either forward slash or backslash. java.util.regex.Pattern is immutable so only one instance is needed for all uses. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoInit()Partition initialization - loads schema entries from the files on classpath.Methods inherited from class org.apache.directory.server.core.partition.ldif.AbstractLdifPartition
getDefaultId, getPartitionPath, initInstanceMethods inherited from class org.apache.directory.server.core.partition.impl.avl.AvlPartition
beginReadTransaction, beginWriteTransaction, convertAndInit, createSystemIndex, doRepair, getCacheSize, getRootId, isSyncOnWriteMethods inherited from class org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition
add, addAliasIndices, addIndex, addIndexedAttributes, addToCache, buildEntryDn, count, delete, delete, doDestroy, dropAliasIndices, dropMovedAliasIndices, dumpIndex, dumpRdnIdx, fetch, fetch, getAdministrativeRoleIndex, getAliasCache, getAliasIndex, getChildCount, getContextCsn, getEntryCsnIndex, getEntryDn, getEntryId, getIndex, getIndexedAttributes, getMasterTable, getObjectClassIndex, getOneAliasIndex, getOptimizer, getParentId, getPresenceIndex, getRdnIndex, getReadWriteLock, getSearchEngine, getSubAliasIndex, getSubordinates, getSuffixId, getSystemIndex, getSystemIndices, getUserIndex, getUserIndices, hasEntry, hasIndexOn, hasSystemIndexOn, hasUserIndexOn, isOptimizerEnabled, loadContextCsn, lookup, lookupCache, modify, modify, move, move, moveAndRename, moveAndRename, rename, rename, repair, saveContextCsn, search, setCacheSize, setIndexedAttributes, setOptimizer, setOptimizerEnabled, setPartitionPath, setSearchEngine, setSyncOnWrite, setupSystemIndices, setupUserIndices, toString, unbind, updateCache, updateRdnIdxMethods inherited from class org.apache.directory.server.core.api.partition.AbstractPartition
checkInitialized, destroy, getContextEntry, getId, getSchemaManager, getSuffixDn, initialize, isInitialized, setContextCsn, setContextEntry, setId, setSchemaManager, setSuffixDn, sync
-
Constructor Details
-
InMemorySchemaPartition
public InMemorySchemaPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) Filesystem path separator pattern, either forward slash or backslash. java.util.regex.Pattern is immutable so only one instance is needed for all uses.
-
-
Method Details
-
doInit
protected void doInit() throws org.apache.directory.api.ldap.model.exception.LdapExceptionPartition initialization - loads schema entries from the files on classpath.- Overrides:
doInitin classorg.apache.directory.server.core.partition.impl.avl.AvlPartition- Throws:
org.apache.directory.api.ldap.model.exception.LdapException- See Also:
-
AvlPartition.doInit()
-