org.objectweb.carol.cmi
Class LowerOrb

java.lang.Object
  extended byorg.objectweb.carol.cmi.LowerOrb

public class LowerOrb
extends java.lang.Object


Field Summary
static int DEFAULT_CREG_PORT
           
static int REG_ID
           
 
Constructor Summary
LowerOrb()
           
 
Method Summary
static void exportObject(java.rmi.Remote obj)
           
static java.rmi.Remote exportRegistry(java.rmi.Remote obj, int port)
           
static javax.rmi.CORBA.PortableRemoteObjectDelegate getPRODelegate()
           
static java.rmi.Remote getRegistryStub(java.lang.String className, java.lang.String host, int port)
           
static java.rmi.Remote toStub(java.rmi.Remote obj)
           
static void unexportObject(java.rmi.Remote obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CREG_PORT

public static final int DEFAULT_CREG_PORT
See Also:
Constant Field Values

REG_ID

public static final int REG_ID
See Also:
Constant Field Values
Constructor Detail

LowerOrb

public LowerOrb()
Method Detail

toStub

public static java.rmi.Remote toStub(java.rmi.Remote obj)
                              throws java.rmi.NoSuchObjectException
Throws:
java.rmi.NoSuchObjectException

exportObject

public static void exportObject(java.rmi.Remote obj)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

unexportObject

public static void unexportObject(java.rmi.Remote obj)
                           throws java.rmi.NoSuchObjectException
Throws:
java.rmi.NoSuchObjectException

getPRODelegate

public static javax.rmi.CORBA.PortableRemoteObjectDelegate getPRODelegate()

exportRegistry

public static java.rmi.Remote exportRegistry(java.rmi.Remote obj,
                                             int port)
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRegistryStub

public static java.rmi.Remote getRegistryStub(java.lang.String className,
                                              java.lang.String host,
                                              int port)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException