java.lang.Object
gov.lanl.Utility.CorbaHelper
- public final class CorbaHelper
- extends java.lang.Object
The class CorbaHelper contains useful methods for obtaining
references to distributed PIDS and Trader objects.
Note split from PidsTraderCorbaHelper.java - tew - 4 Aug 99
- Version:
- $Id: CorbaHelper.java,v 1.15 2002/10/10 06:01:47 dwforslund Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sslService
private static gov.lanl.SSLTools.ServiceInterface sslService
theORB
private static org.omg.CORBA.ORB theORB
count
private static int count
cat
private static org.apache.log4j.Logger cat
CorbaHelper
public CorbaHelper()
doFindOrb
public static org.omg.CORBA.ORB doFindOrb(java.lang.String[] argv)
- locates the orb and displays status
getServiceInterface
public static gov.lanl.SSLTools.ServiceInterface getServiceInterface()
- get the ServiceInterface if it is defined
getOrb
public static org.omg.CORBA.ORB getOrb()
- return ORB or get it from the ServiceFactory
setOrb
public static void setOrb(org.omg.CORBA.ORB orb)
- set the orb to an external value
getIORFromFileOrUrl
public static org.omg.CORBA.Object getIORFromFileOrUrl(java.lang.String iorFileOrUrl)
- loads a CORBA ior from a file or URL
getLookupIFFromIOR
public static org.omg.CosTrading.Lookup getLookupIFFromIOR(java.lang.String traderIORFileOrUrl)
- resolves a Trader IOR file or URL to a Trader Lookup interface
checkObject
public static org.omg.CORBA.Object checkObject(org.omg.CORBA.Object obj)
- enable the client to talk to an insecure object