genDevs.devsBridge
Class ORBHelper
java.lang.Object
genDevs.devsBridge.ORBHelper
public class ORBHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ohInstance
protected static ORBHelper ohInstance
ORBHelper
protected ORBHelper()
getInstance
public static ORBHelper getInstance()
initOrb
public static ORBHelper.ORBInfo initOrb(java.lang.String[] args,
int defaultPort)
throws org.omg.CORBA.UserException
- create and initialize the ORB, initial port 2809, if no other specified
- Throws:
org.omg.CORBA.UserException
publishCorbaObject
public static java.lang.String publishCorbaObject(org.omg.CORBA.Object href,
java.lang.String name,
org.omg.CORBA.ORB orb,
int port)
throws org.omg.CORBA.UserException
- Throws:
org.omg.CORBA.UserException
unbindName
public static void unbindName(java.lang.String name,
org.omg.CORBA.ORB orb)
throws org.omg.CORBA.UserException
- Throws:
org.omg.CORBA.UserException
resolveObjectByNaming
public static org.omg.CORBA.Object resolveObjectByNaming(ORBHelper.ORBInfo orbInfo,
java.lang.String name)
throws org.omg.CORBA.UserException
- Throws:
org.omg.CORBA.UserException