|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.bootstrap.BootstrapMatchingRuleUseRegistry
public class BootstrapMatchingRuleUseRegistry
A plain old java object implementation of an MatchingRuleUseRegistry.
Constructor Summary | |
---|---|
BootstrapMatchingRuleUseRegistry()
Creates an empty BootstrapMatchingRuleUseRegistry. |
Method Summary | |
---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasMatchingRuleUse(java.lang.String name)
Checks to see if an matchingRuleUse exists. |
java.util.Iterator |
list()
Lists all the MatchingRuleUses within this registry. |
org.apache.directory.shared.ldap.schema.MatchingRuleUse |
lookup(java.lang.String name)
Looks up an matchingRuleUse by its name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.MatchingRuleUse matchingRuleUse)
Registers a MatchingRuleUse with this registry. |
void |
setMonitor(MatchingRuleUseRegistryMonitor 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 BootstrapMatchingRuleUseRegistry()
Method Detail |
---|
public void setMonitor(MatchingRuleUseRegistryMonitor monitor)
monitor
- the new monitor to notify of notable eventspublic void register(java.lang.String schema, org.apache.directory.shared.ldap.schema.MatchingRuleUse matchingRuleUse) throws javax.naming.NamingException
MatchingRuleUseRegistry
register
in interface MatchingRuleUseRegistry
schema
- the name of the schema the MatchingRuleUse is associated withmatchingRuleUse
- the matchingRuleUse to register
javax.naming.NamingException
- if the MatchingRuleUse is already registered or
the registration operation is not supportedpublic org.apache.directory.shared.ldap.schema.MatchingRuleUse lookup(java.lang.String name) throws javax.naming.NamingException
MatchingRuleUseRegistry
lookup
in interface MatchingRuleUseRegistry
name
- the name of the matchingRuleUse
javax.naming.NamingException
- if the MatchingRuleUse does not existpublic boolean hasMatchingRuleUse(java.lang.String name)
MatchingRuleUseRegistry
hasMatchingRuleUse
in interface MatchingRuleUseRegistry
name
- the name of the matchingRuleUse
public java.lang.String getSchemaName(java.lang.String id) throws javax.naming.NamingException
MatchingRuleUseRegistry
getSchemaName
in interface MatchingRuleUseRegistry
id
- the name String
javax.naming.NamingException
- if the schema object does not existpublic java.util.Iterator list()
MatchingRuleUseRegistry
list
in interface MatchingRuleUseRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |