|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A registry used to track system matchingRules.
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 oid)
Checks to see if a MatchingRule exists. |
java.util.Iterator |
list()
Gets an Iterator over the MatchingRules within this registry. |
MatchingRule |
lookup(java.lang.String id)
Looks up a MatchingRule by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
MatchingRule matchingRule)
Registers a MatchingRule with this registry. |
Method Detail |
public void register(java.lang.String schema, MatchingRule matchingRule) throws javax.naming.NamingException
schema
- the name of the schema the MatchingRule is associated withmatchingRule
- the MatchingRule to register
javax.naming.NamingException
- if the matchingRule is already registered or the
registration operation is not supportedpublic MatchingRule lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or the name identifier
javax.naming.NamingException
- if there is a backing store failure or the
MatchingRule does not exist.public java.lang.String getSchemaName(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or the name
javax.naming.NamingException
- if the schema object does not existpublic boolean hasMatchingRule(java.lang.String oid)
oid
- the object identifier
public java.util.Iterator list()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |