|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openorb.util.ContextUtilities
NamingUtils
.
This class is the implementation of tools in order to use simply Corba CosNaming.
Constructor Summary | |
ContextUtilities(ORB orb)
Deprecated. Constructor |
Method Summary | |
boolean |
bind(java.lang.String name,
Object object)
Deprecated. Use NamingUtils |
NamingContextExt |
getInitialContext()
Deprecated. return the initial context of the Naming Service |
boolean |
rebind(java.lang.String name,
Object object_value)
Deprecated. Use NamingUtils |
Object |
resolve(java.lang.String name)
Deprecated. Use NamingUtils , or resolve from a corbaname url. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextUtilities(ORB orb)
orb
- the orb referenceMethod Detail |
public NamingContextExt getInitialContext()
public boolean bind(java.lang.String name, Object object)
NamingUtils
name
- The compound name for the object to bind. The syntax is ContextA.kindA/ContextB.kindB/obj_name
you can specify all the hierarchical naming contexts (the kind of each context is optional). If a naming context do not exist, it will be createdobject
- The object to bindpublic boolean rebind(java.lang.String name, Object object_value)
NamingUtils
name
- The compound name for the object to bind. The syntax is ContextA.kindA/ContextB.kindB/obj_name
you can specify all the hierarchical naming contexts (the kind of each context is optional). If a naming context do not exist, it will be createdobject
- The object to bindpublic Object resolve(java.lang.String name)
NamingUtils
, or resolve from a corbaname url.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |