org.apache.directory.server.schema.registries
Interface Registries

All Known Implementing Classes:
DefaultRegistries

public interface Registries

Document this class.

Version:
$Rev: 658888 $
Author:
Apache Directory Project

Method Summary
 void addToLoadedSet(Schema schema)
          Adds a schema to the loaded set but does not load the schema in question.
 java.util.List<java.lang.Throwable> checkRefInteg()
           
 AttributeTypeRegistry getAttributeTypeRegistry()
           
 ComparatorRegistry getComparatorRegistry()
           
 DITContentRuleRegistry getDitContentRuleRegistry()
           
 DITStructureRuleRegistry getDitStructureRuleRegistry()
           
 java.util.Map<java.lang.String,Schema> getLoadedSchemas()
           
 MatchingRuleRegistry getMatchingRuleRegistry()
           
 MatchingRuleUseRegistry getMatchingRuleUseRegistry()
           
 java.lang.String getName()
           
 NameFormRegistry getNameFormRegistry()
           
 NormalizerRegistry getNormalizerRegistry()
           
 ObjectClassRegistry getObjectClassRegistry()
           
 OidRegistry getOidRegistry()
           
 Schema getSchema(java.lang.String schemaName)
           
 SyntaxCheckerRegistry getSyntaxCheckerRegistry()
           
 SyntaxRegistry getSyntaxRegistry()
           
 void load(java.lang.String schemaName)
           
 void load(java.lang.String schemaName, java.util.Properties props)
           
 void removeFromLoadedSet(java.lang.String schemaName)
          Removes a schema from the loaded set without unloading the schema.
 SchemaLoader setSchemaLoader()
           
 void unload(java.lang.String schemaName)
           
 

Method Detail

getName

java.lang.String getName()

getLoadedSchemas

java.util.Map<java.lang.String,Schema> getLoadedSchemas()

load

void load(java.lang.String schemaName)
          throws java.lang.Exception
Throws:
java.lang.Exception

load

void load(java.lang.String schemaName,
          java.util.Properties props)
          throws java.lang.Exception
Throws:
java.lang.Exception

unload

void unload(java.lang.String schemaName)
            throws java.lang.Exception
Throws:
java.lang.Exception

setSchemaLoader

SchemaLoader setSchemaLoader()

getAttributeTypeRegistry

AttributeTypeRegistry getAttributeTypeRegistry()

getComparatorRegistry

ComparatorRegistry getComparatorRegistry()

getDitContentRuleRegistry

DITContentRuleRegistry getDitContentRuleRegistry()

getDitStructureRuleRegistry

DITStructureRuleRegistry getDitStructureRuleRegistry()

getMatchingRuleRegistry

MatchingRuleRegistry getMatchingRuleRegistry()

getMatchingRuleUseRegistry

MatchingRuleUseRegistry getMatchingRuleUseRegistry()

getNameFormRegistry

NameFormRegistry getNameFormRegistry()

getNormalizerRegistry

NormalizerRegistry getNormalizerRegistry()

getObjectClassRegistry

ObjectClassRegistry getObjectClassRegistry()

getOidRegistry

OidRegistry getOidRegistry()

getSyntaxCheckerRegistry

SyntaxCheckerRegistry getSyntaxCheckerRegistry()

getSyntaxRegistry

SyntaxRegistry getSyntaxRegistry()

checkRefInteg

java.util.List<java.lang.Throwable> checkRefInteg()

getSchema

Schema getSchema(java.lang.String schemaName)

removeFromLoadedSet

void removeFromLoadedSet(java.lang.String schemaName)
Removes a schema from the loaded set without unloading the schema. This should be used ONLY when an enabled schema is deleted.

Parameters:
schemaName - the name of the schema to remove

addToLoadedSet

void addToLoadedSet(Schema schema)
Adds a schema to the loaded set but does not load the schema in question. This may be a temporary fix for new schemas being added which are enabled yet do not have any schema entities associated with them to load. In this case all objects added under this schema will load when added instead of in bulk.

Parameters:
schema - the schema object to add to the loaded set.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.