|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectClass registry service interface.
Method Summary | |
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasObjectClass(java.lang.String id)
Checks to see if an objectClass exists. |
java.util.Iterator |
list()
Gets an Iterator over the ObjectClasses within this ObjectClassRegistry. |
ObjectClass |
lookup(java.lang.String id)
Looks up an objectClass by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
ObjectClass objectClass)
Registers an ObjectClass with this registry. |
Method Detail |
public void register(java.lang.String schema, ObjectClass objectClass) throws javax.naming.NamingException
schema
- the name of the schema the ObjectClass is associated withobjectClass
- the objectClass to register
javax.naming.NamingException
- if the ObjectClass is already registered or the
registration operation is not supportedpublic ObjectClass lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name
javax.naming.NamingException
- if the ObjectClass does not existpublic 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 hasObjectClass(java.lang.String id)
id
- the object identifier or name
public java.util.Iterator list()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |