|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.GlobalNameFormRegistry
public class GlobalNameFormRegistry
A plain old java object implementation of an NameFormRegistry.
| Constructor Summary | |
|---|---|
GlobalNameFormRegistry(BootstrapNameFormRegistry bootstrap,
OidRegistry oidRegistry)
Creates an empty BootstrapNameFormRegistry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasNameForm(java.lang.String id)
Checks to see if an nameForm exists. |
java.util.Iterator |
list()
Lists all the NameForms within this registry. |
org.apache.directory.shared.ldap.schema.NameForm |
lookup(java.lang.String id)
Looks up a nameForm by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.NameForm dITContentRule)
Registers a NameForm with this registry. |
void |
setMonitor(NameFormRegistryMonitor 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 GlobalNameFormRegistry(BootstrapNameFormRegistry bootstrap,
OidRegistry oidRegistry)
| Method Detail |
|---|
public void setMonitor(NameFormRegistryMonitor monitor)
monitor - the new monitor to notify of notable events
public void register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.NameForm dITContentRule)
throws javax.naming.NamingException
NameFormRegistry
register in interface NameFormRegistryschema - the name of the schema the NameForm is associated withdITContentRule - the nameForm to register
javax.naming.NamingException - if the NameForm is already registered or the
registration operation is not supported
public org.apache.directory.shared.ldap.schema.NameForm lookup(java.lang.String id)
throws javax.naming.NamingException
NameFormRegistry
lookup in interface NameFormRegistryid - the object identifier or name
javax.naming.NamingException - if the NameForm does not existpublic boolean hasNameForm(java.lang.String id)
NameFormRegistry
hasNameForm in interface NameFormRegistryid - the object identifier or name
public java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
NameFormRegistry
getSchemaName in interface NameFormRegistryid - the object identifier or the name
javax.naming.NamingException - if the schema object does not existpublic java.util.Iterator list()
NameFormRegistry
list in interface NameFormRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||