Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gov.lanl.Utility
Class CorbaHelper  view CorbaHelper download CorbaHelper.java

java.lang.Object
  extended bygov.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 $

Field Summary
private static org.apache.log4j.Logger cat
           
private static int count
           
private static gov.lanl.SSLTools.ServiceInterface sslService
           
private static org.omg.CORBA.ORB theORB
           
 
Constructor Summary
CorbaHelper()
           
 
Method Summary
static org.omg.CORBA.Object checkObject(org.omg.CORBA.Object obj)
          enable the client to talk to an insecure object
static org.omg.CORBA.ORB doFindOrb(java.lang.String[] argv)
          locates the orb and displays status
static org.omg.CORBA.Object getIORFromFileOrUrl(java.lang.String iorFileOrUrl)
          loads a CORBA ior from a file or URL
static org.omg.CosTrading.Lookup getLookupIFFromIOR(java.lang.String traderIORFileOrUrl)
          resolves a Trader IOR file or URL to a Trader Lookup interface
static org.omg.CORBA.ORB getOrb()
          return ORB or get it from the ServiceFactory
static gov.lanl.SSLTools.ServiceInterface getServiceInterface()
          get the ServiceInterface if it is defined
static void setOrb(org.omg.CORBA.ORB orb)
          set the orb to an external value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CorbaHelper

public CorbaHelper()
Method Detail

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