|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.LowerOrb
Exports the internal methods of the underlying ORB.
Field Summary | |
static int |
DEFAULT_CREG_PORT
Default port number |
static int |
REG_ID
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)
Export an object thru lower Orb |
static javax.rmi.CORBA.PortableRemoteObjectDelegate |
getPRODelegate()
|
static java.rmi.Remote |
getRegistryStub(java.lang.String className,
java.lang.String host,
int port)
Get a remote ref thru lower Orb |
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 |
public static final int DEFAULT_CREG_PORT
public static final int REG_ID
Constructor Detail |
public LowerOrb()
Method Detail |
public static java.rmi.Remote toStub(java.rmi.Remote obj) throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectException
Remote
public static void exportObject(java.rmi.Remote obj) throws java.rmi.RemoteException
java.rmi.RemoteException
Remote
public static void unexportObject(java.rmi.Remote obj) throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectException
Remote
public static javax.rmi.CORBA.PortableRemoteObjectDelegate getPRODelegate()
Remote
public static java.rmi.Remote exportRegistry(java.rmi.Remote obj, int port) throws java.rmi.RemoteException
obj
- object to exportport
- port
java.rmi.RemoteException
- if an error is encounteredpublic static java.rmi.Remote getRegistryStub(java.lang.String className, java.lang.String host, int port) throws java.rmi.RemoteException
className
- class namehost
- hostport
- port
java.rmi.RemoteException
- in an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |