org.openorb.pss.connector.database
Class PIDFactory

java.lang.Object
  extended by org.openorb.pss.connector.database.PIDFactory

public class PIDFactory
extends java.lang.Object

This class provides static operation to manage PID.

Author:
Jerome Daniel

Field Summary
static org.omg.PortableInterceptor.ORBInitInfo info
          Reference to the ORBInitInfo
 
Constructor Summary
PIDFactory()
           
 
Method Summary
static PID pid_byte_to_pid(byte[] pid)
           
static byte[] pid_to_catalog_pid(byte[] pid)
          This operation returns a catalog pid from a pid
static byte[] pid_to_short_pid(byte[] pid)
          This operation returns a short pid from a pid
static PID short_pid_to_pid(byte[] short_pid, PID home_pid)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

public static org.omg.PortableInterceptor.ORBInitInfo info
Reference to the ORBInitInfo

Constructor Detail

PIDFactory

public PIDFactory()
Method Detail

pid_to_catalog_pid

public static byte[] pid_to_catalog_pid(byte[] pid)
This operation returns a catalog pid from a pid


pid_to_short_pid

public static byte[] pid_to_short_pid(byte[] pid)
This operation returns a short pid from a pid


short_pid_to_pid

public static PID short_pid_to_pid(byte[] short_pid,
                                   PID home_pid)

pid_byte_to_pid

public static PID pid_byte_to_pid(byte[] pid)