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:
- org.apache.directory.server.schema.registries.SchemaLoader
public class BootstrapSchemaLoader
- extends org.apache.directory.server.schema.registries.AbstractSchemaLoader
Class which handles bootstrap schema class file loading.
- Version:
- $Rev: 542341 $
- Author:
- Apache Directory Project
| Fields inherited from class org.apache.directory.server.schema.registries.AbstractSchemaLoader |
listener |
|
Method Summary |
org.apache.directory.server.schema.bootstrap.Schema |
getSchema(java.lang.String schemaName)
|
org.apache.directory.server.schema.bootstrap.Schema |
getSchema(java.lang.String schemaName,
java.util.Properties schemaProperties)
|
void |
load(org.apache.directory.server.schema.bootstrap.Schema schema,
org.apache.directory.server.schema.registries.Registries registries,
boolean isDepLoad)
Loads a schema by loading and running all producers for the schema. |
void |
loadWithDependencies(java.util.Collection<org.apache.directory.server.schema.bootstrap.Schema> bootstrapSchemas,
org.apache.directory.server.schema.registries.Registries registries)
Loads a set of schemas by loading and running all producers for each
dependent schema first. |
void |
loadWithDependencies(org.apache.directory.server.schema.bootstrap.Schema schema,
org.apache.directory.server.schema.registries.Registries registries)
|
| Methods inherited from class org.apache.directory.server.schema.registries.AbstractSchemaLoader |
loadDepsFirst, notifyListenerOrRegistries, setListener |
| 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(org.apache.directory.server.schema.bootstrap.Schema schema,
org.apache.directory.server.schema.registries.Registries registries)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
loadWithDependencies
public final void loadWithDependencies(java.util.Collection<org.apache.directory.server.schema.bootstrap.Schema> bootstrapSchemas,
org.apache.directory.server.schema.registries.Registries registries)
throws javax.naming.NamingException
- 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
load
public final void load(org.apache.directory.server.schema.bootstrap.Schema schema,
org.apache.directory.server.schema.registries.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 org.apache.directory.server.schema.bootstrap.Schema getSchema(java.lang.String schemaName)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getSchema
public org.apache.directory.server.schema.bootstrap.Schema getSchema(java.lang.String schemaName,
java.util.Properties schemaProperties)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.