|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.GlobalMatchingRuleRegistry
public class GlobalMatchingRuleRegistry
A plain old java object implementation of an MatchingRuleRegistry.
| Constructor Summary | |
|---|---|
GlobalMatchingRuleRegistry(BootstrapMatchingRuleRegistry bootstrap,
OidRegistry oidRegistry)
Creates an empty BootstrapMatchingRuleRegistry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasMatchingRule(java.lang.String id)
Checks to see if a MatchingRule exists. |
java.util.Iterator |
list()
Gets an Iterator over the MatchingRules within this registry. |
org.apache.directory.shared.ldap.schema.MatchingRule |
lookup(java.lang.String id)
Looks up a MatchingRule by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.MatchingRule dITContentRule)
Registers a MatchingRule with this registry. |
void |
setMonitor(MatchingRuleRegistryMonitor 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 GlobalMatchingRuleRegistry(BootstrapMatchingRuleRegistry bootstrap,
OidRegistry oidRegistry)
| Method Detail |
|---|
public void setMonitor(MatchingRuleRegistryMonitor monitor)
monitor - the new monitor to notify of notable events
public void register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.MatchingRule dITContentRule)
throws javax.naming.NamingException
MatchingRuleRegistry
register in interface MatchingRuleRegistryschema - the name of the schema the MatchingRule is associated withdITContentRule - the MatchingRule to register
javax.naming.NamingException - if the matchingRule is already registered or the
registration operation is not supported
public org.apache.directory.shared.ldap.schema.MatchingRule lookup(java.lang.String id)
throws javax.naming.NamingException
MatchingRuleRegistry
lookup in interface MatchingRuleRegistryid - the object identifier or the name identifier
javax.naming.NamingException - if there is a backing store failure or the
MatchingRule does not exist.public boolean hasMatchingRule(java.lang.String id)
MatchingRuleRegistry
hasMatchingRule in interface MatchingRuleRegistryid - the object identifier
public java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
MatchingRuleRegistry
getSchemaName in interface MatchingRuleRegistryid - the object identifier or the name
javax.naming.NamingException - if the schema object does not existpublic java.util.Iterator list()
MatchingRuleRegistry
list in interface MatchingRuleRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||