|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.voyager.corba.Corba
Corba defines static methods for converting CORBA IORs (interoperable object references) to/from Java references. It also contains methods for accessing and modifying the auto-anchor feature (see the user guide for more details).
You cannot create an instance of the Corba class.
Method Summary | |
static java.lang.String |
asIOR(java.lang.Object object)
Return the address of the specified object as a CORBA IOR. |
static java.lang.String |
asIOR(java.lang.Object object,
java.lang.Class type)
Return the address of the specified object as a CORBA IOR. |
static java.lang.String |
asIOR(java.lang.Object object,
java.lang.String classname)
Return the address of the specified object as a CORBA IOR. |
static void |
bindIdToJava(java.lang.String id,
java.lang.String java)
|
static boolean |
isAnchoring()
Return true if garbage collection is disabled for objects that are automatically converted into proxies when passed to/from remote operations or passed to asIOR(). |
static Proxy |
narrow(java.lang.Object object,
java.lang.Class type)
|
static void |
setAnchoring(boolean flag)
If the flag is true, disable garbage collection for objects that are automatically converted into proxies when passed to/from remote operations or passed to asIOR(). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static java.lang.String asIOR(java.lang.Object object) throws java.io.IOException
object
- The object.public static java.lang.String asIOR(java.lang.Object object, java.lang.Class type) throws java.io.IOException
object
- The object.type
- The class to pick.public static java.lang.String asIOR(java.lang.Object object, java.lang.String classname) throws java.io.IOException
object
- The object.classname
- The class name.public static Proxy narrow(java.lang.Object object, java.lang.Class type) throws java.lang.ClassCastException
public static void setAnchoring(boolean flag)
flag
- The new setting.public static boolean isAnchoring()
public static void bindIdToJava(java.lang.String id, java.lang.String java)
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |