org.openorb.orb.adapter
Class IORUtil

java.lang.Object
  extended byorg.openorb.orb.adapter.IORUtil

public final class IORUtil
extends java.lang.Object

The methods of this class comes from the ServerManager class in the net package. The comment in front of those methods was: "These methods should be moved somewhere else because they are independent of the server side". Because the construct_ior is used from the adapters only the IORUtil class is located in the adapter package.

Author:
Michael Rumpf

Method Summary
static org.omg.IOP.IOR construct_ior(java.lang.String type_id, byte[] object_key, ComponentSet component_set, java.lang.Object[] protProfIDs, org.omg.CORBA.ORB orb)
          Construct an IOR.
static org.omg.IOP.IOR merge_iors(java.lang.String type_id, org.omg.IOP.IOR[] iors)
          Constructs a new IOR which is a merge of all the profiles in each of the targets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

construct_ior

public static org.omg.IOP.IOR construct_ior(java.lang.String type_id,
                                            byte[] object_key,
                                            ComponentSet component_set,
                                            java.lang.Object[] protProfIDs,
                                            org.omg.CORBA.ORB orb)
Construct an IOR.


merge_iors

public static org.omg.IOP.IOR merge_iors(java.lang.String type_id,
                                         org.omg.IOP.IOR[] iors)
Constructs a new IOR which is a merge of all the profiles in each of the targets.