|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.schema.registries.AbstractSchemaLoader
org.apache.directory.server.schema.bootstrap.BootstrapSchemaLoader
public class BootstrapSchemaLoader
Class which handles bootstrap schema class file loading.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.schema.registries.AbstractSchemaLoader |
|---|
listener |
| Constructor Summary | |
|---|---|
BootstrapSchemaLoader()
Creates a BootstrapSchema loader. |
|
BootstrapSchemaLoader(java.lang.ClassLoader cl)
|
|
| Method Summary | |
|---|---|
Schema |
getSchema(java.lang.String schemaName)
Gets a schema object based on it's name. |
Schema |
getSchema(java.lang.String schemaName,
java.util.Properties schemaProperties)
Gets a schema object based on it's name and some properties. |
void |
load(Schema schema,
Registries registries,
boolean isDepLoad)
Loads a schema by loading and running all producers for the schema. |
void |
loadWithDependencies(java.util.Collection<Schema> bootstrapSchemas,
Registries registries)
Loads a set of schemas by loading and running all producers for each dependent schema first. |
void |
loadWithDependencies(Schema schema,
Registries registries)
Loads a single schema at least and possibly it's dependencies. |
| 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 |
| Constructor Detail |
|---|
public BootstrapSchemaLoader()
public BootstrapSchemaLoader(java.lang.ClassLoader cl)
| Method Detail |
|---|
public final void loadWithDependencies(Schema schema,
Registries registries)
throws java.lang.Exception
SchemaLoader
schema - the schema to loadregistries - the registries to populate with these schemas
java.lang.Exception
public final void loadWithDependencies(java.util.Collection<Schema> bootstrapSchemas,
Registries registries)
throws java.lang.Exception
bootstrapSchemas - Collection of BootstrapSchemas to loadregistries - the registries to fill with producer created objects
javax.naming.NamingException - if there are any failures during this process
java.lang.Exception
public final void load(Schema schema,
Registries registries,
boolean isDepLoad)
throws javax.naming.NamingException
schema - the schema to loadregistries - the registries to fill with producer created objectsisDepLoad - tells the loader if this load request is to satisfy a dependency
javax.naming.NamingException - if there are any failures during this process
public Schema getSchema(java.lang.String schemaName)
throws javax.naming.NamingException
SchemaLoader
schemaName - the name of the schema to load
NamingException - if any problems while trying to find the associated Schema
public Schema getSchema(java.lang.String schemaName,
java.util.Properties schemaProperties)
throws javax.naming.NamingException
SchemaLoader
schemaName - the name of the schema to loadschemaProperties - the properties associated with that schema to facilitate locating/loading it
NamingException - if any problems while trying to find the associated Schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||