|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Comparator registry component's service interface.
Method Summary | |
java.lang.String |
getSchemaName(java.lang.String oid)
Gets the name of the schema this schema object is associated with. |
boolean |
hasComparator(java.lang.String oid)
Checks to see if a Comparator exists. |
java.util.Comparator |
lookup(java.lang.String oid)
Looks up a Comparator by its unique Object Identifier. |
void |
register(java.lang.String schema,
java.lang.String oid,
java.util.Comparator comparator)
Registers a Comparator with this registry. |
Method Detail |
public java.lang.String getSchemaName(java.lang.String oid) throws javax.naming.NamingException
oid
- the object identifier
javax.naming.NamingException
- if the schema object does not existpublic void register(java.lang.String schema, java.lang.String oid, java.util.Comparator comparator) throws javax.naming.NamingException
schema
- the name of the schema the comparator is associated withoid
- the object identifiercomparator
- the Comparator to register
javax.naming.NamingException
- if the Comparator is already registered or the
registration operation is not supportedpublic java.util.Comparator lookup(java.lang.String oid) throws javax.naming.NamingException
oid
- the object identifier
javax.naming.NamingException
- if there is a backing store failure or the
Comparator does not exist.public boolean hasComparator(java.lang.String oid)
oid
- the object identifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |