|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.GlobalDitStructureRuleRegistry
public class GlobalDitStructureRuleRegistry
A plain old java object implementation of an DITStructureRuleRegistry.
| Constructor Summary | |
|---|---|
GlobalDitStructureRuleRegistry(BootstrapDitStructureRuleRegistry bootstrap,
OidRegistry oidRegistry)
Creates an empty BootstrapDitStructureRuleRegistry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasDITStructureRule(java.lang.String id)
Checks to see if an dITStructureRule exists. |
java.util.Iterator |
list()
Lists all the DITStructureRules within this registry. |
org.apache.directory.shared.ldap.schema.DITStructureRule |
lookup(java.lang.String id)
Looks up an dITStructureRule by its unique Object IDentifier or by its name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
Registers a DITStructureRule with this registry. |
void |
setMonitor(DITStructureRuleRegistryMonitor monitor)
Sets the monitor that is to be notified via callback events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalDitStructureRuleRegistry(BootstrapDitStructureRuleRegistry bootstrap,
OidRegistry oidRegistry)
| Method Detail |
|---|
public void setMonitor(DITStructureRuleRegistryMonitor monitor)
monitor - the new monitor to notify of notable events
public void register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
throws javax.naming.NamingException
DITStructureRuleRegistry
register in interface DITStructureRuleRegistryschema - the name of the schema the DITStructureRule is associated withdITStructureRule - the dITStructureRule to register
javax.naming.NamingException - if the DITStructureRule is already registered
or the registration operation is not supported
public org.apache.directory.shared.ldap.schema.DITStructureRule lookup(java.lang.String id)
throws javax.naming.NamingException
DITStructureRuleRegistry
lookup in interface DITStructureRuleRegistryid - the object identifier, or the name
javax.naming.NamingException - if the DITStructureRule does not existpublic boolean hasDITStructureRule(java.lang.String id)
DITStructureRuleRegistry
hasDITStructureRule in interface DITStructureRuleRegistryid - the object identifier, or the name
public java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
DITStructureRuleRegistry
getSchemaName in interface DITStructureRuleRegistryid - the object identifier or the name
javax.naming.NamingException - if the schema object does not existpublic java.util.Iterator list()
DITStructureRuleRegistry
list in interface DITStructureRuleRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||