public class LowerOrb
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CREG_PORT
Default port number
|
static int |
REG_ID
Reg ID
|
Constructor and Description |
---|
LowerOrb() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final int DEFAULT_CREG_PORT
public static final int REG_ID
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
- portjava.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
- portjava.rmi.RemoteException
- in an error occurs