org.apache.directory.server.schema.bootstrap
Class BootstrapSchemaLoader
java.lang.Object
org.apache.directory.server.schema.registries.AbstractSchemaLoader
org.apache.directory.server.schema.bootstrap.BootstrapSchemaLoader
- All Implemented Interfaces:
- SchemaLoader
public class BootstrapSchemaLoader
- extends AbstractSchemaLoader
Class which handles bootstrap schema class file loading.
- Version:
- $Rev: 780471 $
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapSchemaLoader
public BootstrapSchemaLoader()
- Creates a BootstrapSchema loader.
BootstrapSchemaLoader
public BootstrapSchemaLoader(java.lang.ClassLoader cl)
loadWithDependencies
public final void loadWithDependencies(Schema schema,
Registries registries)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadWithDependencies
public final void loadWithDependencies(java.util.Collection<Schema> bootstrapSchemas,
Registries registries)
throws java.lang.Exception
- Loads a set of schemas by loading and running all producers for each
dependent schema first.
- Parameters:
bootstrapSchemas - Collection of BootstrapSchemas to loadregistries - the registries to fill with producer created objects
- Throws:
javax.naming.NamingException - if there are any failures during this process
java.lang.Exception
load
public final void load(Schema schema,
Registries registries,
boolean isDepLoad)
throws javax.naming.NamingException
- Loads a schema by loading and running all producers for the schema.
- Parameters:
schema - the schema to loadregistries - the registries to fill with producer created objects
- Throws:
javax.naming.NamingException - if there are any failures during this process
getSchema
public Schema getSchema(java.lang.String schemaName)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getSchema
public Schema getSchema(java.lang.String schemaName,
java.util.Properties schemaProperties)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.