public final class SchemaService
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.Object |
schemaSubentrLock
A lock to avid concurrent generation of the SubschemaSubentry
|
private static org.apache.directory.api.ldap.model.entry.Entry |
schemaSubentry
cached version of the schema subentry with all attributes in it
|
| Modifier | Constructor and Description |
|---|---|
private |
SchemaService() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
addAttribute(org.apache.directory.api.ldap.model.entry.Entry attrs,
java.lang.String id) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateAttributeTypes(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateComparators(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Generate the comparators attribute from the registry
|
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateDitContextRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateDitStructureRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateMatchingRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateMatchingRuleUses(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateNameForms(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateNormalizers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateObjectClasses(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static void |
generateSchemaSubentry(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry mods)
Creates the SSSE by extracting all the SchemaObjects from the registries.
|
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateSyntaxCheckers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
private static org.apache.directory.api.ldap.model.entry.Attribute |
generateSyntaxes(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
static org.apache.directory.api.ldap.model.entry.Entry |
getSubschemaEntry(DirectoryService directoryService,
FilteringOperationContext operationContext) |
static org.apache.directory.api.ldap.model.entry.Entry |
getSubschemaEntryCloned(DirectoryService directoryService) |
static org.apache.directory.api.ldap.model.entry.Entry |
getSubschemaEntryImmutable(DirectoryService directoryService) |
private static org.apache.directory.api.ldap.model.entry.Entry schemaSubentry
private static java.lang.Object schemaSubentrLock
private static org.apache.directory.api.ldap.model.entry.Attribute generateComparators(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateNormalizers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateSyntaxCheckers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateObjectClasses(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateAttributeTypes(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateMatchingRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateMatchingRuleUses(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateSyntaxes(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateDitContextRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateDitStructureRules(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static org.apache.directory.api.ldap.model.entry.Attribute generateNameForms(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static void generateSchemaSubentry(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry mods)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprivate static void addAttribute(org.apache.directory.api.ldap.model.entry.Entry attrs,
java.lang.String id)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic static org.apache.directory.api.ldap.model.entry.Entry getSubschemaEntryImmutable(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic static org.apache.directory.api.ldap.model.entry.Entry getSubschemaEntryCloned(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic static org.apache.directory.api.ldap.model.entry.Entry getSubschemaEntry(DirectoryService directoryService, FilteringOperationContext operationContext) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException