org.apache.directory.server.schema.bootstrap
Class AbstractBootstrapProducer

java.lang.Object
  extended by org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer
All Implemented Interfaces:
BootstrapProducer
Direct Known Subclasses:
ApacheAttributeTypeProducer, ApacheComparatorProducer, ApacheDitContentRuleProducer, ApacheDitStructureRuleProducer, ApacheMatchingRuleProducer, ApacheMatchingRuleUseProducer, ApachemetaAttributeTypeProducer, ApachemetaComparatorProducer, ApachemetaDitContentRuleProducer, ApachemetaDitStructureRuleProducer, ApachemetaMatchingRuleProducer, ApachemetaMatchingRuleUseProducer, ApachemetaNameFormProducer, ApachemetaNormalizerProducer, ApachemetaObjectClassProducer, ApachemetaSyntaxCheckerProducer, ApachemetaSyntaxProducer, ApacheNameFormProducer, ApacheNormalizerProducer, ApacheObjectClassProducer, ApacheSyntaxCheckerProducer, ApacheSyntaxProducer, CoreAttributeTypeProducer, CoreComparatorProducer, CoreDitContentRuleProducer, CoreDitStructureRuleProducer, CoreMatchingRuleProducer, CoreMatchingRuleUseProducer, CoreNameFormProducer, CoreNormalizerProducer, CoreObjectClassProducer, CoreSyntaxCheckerProducer, CoreSyntaxProducer, SystemAttributeTypeProducer, SystemComparatorProducer, SystemDitContentRuleProducer, SystemDitStructureRuleProducer, SystemMatchingRuleProducer, SystemMatchingRuleUseProducer, SystemNameFormProducer, SystemNormalizerProducer, SystemObjectClassProducer, SystemSyntaxCheckerProducer, SystemSyntaxProducer

public abstract class AbstractBootstrapProducer
extends java.lang.Object
implements BootstrapProducer

An abstract producer implementation.

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

Nested Class Summary
static class AbstractBootstrapProducer.BootstrapAttributeType
          A concrete mutable attributeType implementation for bootstrapping which uses registries for dynamically resolving dependent objects.
static class AbstractBootstrapProducer.BootstrapMatchingRule
           
static class AbstractBootstrapProducer.BootstrapObjectClass
          A concrete mutable objectClass implementation for bootstrapping which uses registries for dynamically resolving dependent objects.
static class AbstractBootstrapProducer.BootstrapSyntax
          A mutable Syntax for the bootstrap phase that uses the syntaxCheckerRegistry to dynamically resolve syntax checkers.
 
Field Summary
protected static java.lang.String[] EMPTY
          a reused empty String array
 
Constructor Summary
protected AbstractBootstrapProducer(org.apache.directory.server.schema.bootstrap.ProducerTypeEnum type)
          Creates a producer of a specific type.
 
Method Summary
 org.apache.directory.server.schema.bootstrap.ProducerTypeEnum getType()
          Gets the type of producer this is.
protected static AbstractBootstrapProducer.BootstrapAttributeType newAttributeType(java.lang.String oid, org.apache.directory.server.schema.registries.Registries registries)
           
protected static AbstractBootstrapProducer.BootstrapObjectClass newObjectClass(java.lang.String oid, org.apache.directory.server.schema.registries.Registries registries)
           
protected static AbstractBootstrapProducer.BootstrapSyntax newSyntax(java.lang.String oid, org.apache.directory.server.schema.registries.Registries registries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.server.schema.bootstrap.BootstrapProducer
produce
 

Field Detail

EMPTY

protected static final java.lang.String[] EMPTY
a reused empty String array

Constructor Detail

AbstractBootstrapProducer

protected AbstractBootstrapProducer(org.apache.directory.server.schema.bootstrap.ProducerTypeEnum type)
Creates a producer of a specific type.

Parameters:
type - the producer type
Method Detail

getType

public org.apache.directory.server.schema.bootstrap.ProducerTypeEnum getType()
Description copied from interface: BootstrapProducer
Gets the type of producer this is.

Specified by:
getType in interface BootstrapProducer
Returns:
the type of the BootstrapProducer as a enum
See Also:
BootstrapProducer.getType()

newSyntax

protected static AbstractBootstrapProducer.BootstrapSyntax newSyntax(java.lang.String oid,
                                                                     org.apache.directory.server.schema.registries.Registries registries)

newAttributeType

protected static AbstractBootstrapProducer.BootstrapAttributeType newAttributeType(java.lang.String oid,
                                                                                   org.apache.directory.server.schema.registries.Registries registries)

newObjectClass

protected static AbstractBootstrapProducer.BootstrapObjectClass newObjectClass(java.lang.String oid,
                                                                               org.apache.directory.server.schema.registries.Registries registries)


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.