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

java.lang.Object
  extended by org.apache.directory.server.core.schema.bootstrap.AbstractBootstrapProducer
All Implemented Interfaces:
BootstrapProducer
Direct Known Subclasses:
ApacheComparatorProducer, ApacheMatchingRuleProducer, ApacheNormalizerProducer, InetorgpersonComparatorProducer, InetorgpersonMatchingRuleProducer, InetorgpersonNormalizerProducer, NisComparatorProducer, NisMatchingRuleProducer, NisNormalizerProducer, NisSyntaxCheckerProducer, NisSyntaxProducer, SystemComparatorProducer, SystemMatchingRuleProducer, SystemNormalizerProducer, SystemSyntaxCheckerProducer, SystemSyntaxProducer

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

An abstract producer implementation.

Version:
$Rev: 434579 $
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(ProducerTypeEnum type)
          Creates a producer of a specific type.
 
Method Summary
 ProducerTypeEnum getType()
          Gets the type of producer this is.
protected static AbstractBootstrapProducer.BootstrapAttributeType newAttributeType(java.lang.String oid, BootstrapRegistries registries)
           
protected static AbstractBootstrapProducer.BootstrapObjectClass newObjectClass(java.lang.String oid, BootstrapRegistries registries)
           
protected static AbstractBootstrapProducer.BootstrapSyntax newSyntax(java.lang.String oid, BootstrapRegistries 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.core.schema.bootstrap.BootstrapProducer
produce
 

Field Detail

EMPTY

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

Constructor Detail

AbstractBootstrapProducer

protected AbstractBootstrapProducer(ProducerTypeEnum type)
Creates a producer of a specific type.

Parameters:
type - the producer type
Method Detail

getType

public 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,
                                                                     BootstrapRegistries registries)

newAttributeType

protected static AbstractBootstrapProducer.BootstrapAttributeType newAttributeType(java.lang.String oid,
                                                                                   BootstrapRegistries registries)

newObjectClass

protected static AbstractBootstrapProducer.BootstrapObjectClass newObjectClass(java.lang.String oid,
                                                                               BootstrapRegistries registries)


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