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

java.lang.Object
  extended by org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer
      extended by org.apache.directory.server.schema.bootstrap.SystemSyntaxCheckerProducer
All Implemented Interfaces:
BootstrapProducer

public class SystemSyntaxCheckerProducer
extends AbstractBootstrapProducer

A producer of SyntaxCheckers for the core schema.

Version:
$Rev: 542996 $
Author:
Apache Directory Project
'TODO'
now we use do nothing checkers for place holder and will add as we go

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer
AbstractBootstrapProducer.BootstrapAttributeType, AbstractBootstrapProducer.BootstrapMatchingRule, AbstractBootstrapProducer.BootstrapObjectClass, AbstractBootstrapProducer.BootstrapSyntax
 
Field Summary
 
Fields inherited from class org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer
EMPTY
 
Constructor Summary
SystemSyntaxCheckerProducer()
          Creates a producer which produces all 58 of the core schema syntax's SyntaxCheckers.
 
Method Summary
 void produce(Registries registries, ProducerCallback cb)
          Produces schema objects announcing each one after creation via the callback before continuing on to create more objects.
 
Methods inherited from class org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer
getType, newAttributeType, newObjectClass, newSyntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSyntaxCheckerProducer

public SystemSyntaxCheckerProducer()
Creates a producer which produces all 58 of the core schema syntax's SyntaxCheckers.

Method Detail

produce

public void produce(Registries registries,
                    ProducerCallback cb)
             throws javax.naming.NamingException
Description copied from interface: BootstrapProducer
Produces schema objects announcing each one after creation via the callback before continuing on to create more objects.

Parameters:
registries - the registry set used by this producer
cb - the producer's callback
Throws:
javax.naming.NamingException - callbacks often operate upon registries and can throw these exceptions so we must throw this as well since implementations will have to call the callback methods


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