public class PortableRemoteObjectDelegateImpl
extends java.lang.Object
implements javax.rmi.CORBA.PortableRemoteObjectDelegate
| Constructor and Description |
|---|
PortableRemoteObjectDelegateImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.rmi.Remote target,
java.rmi.Remote source) |
void |
exportObject(java.rmi.Remote obj)
Export an RMI object as a CORBA object
|
static ORB |
getORB()
Return the ORB to be used for RMI communications.
|
java.lang.Object |
narrow(java.lang.Object obj,
java.lang.Class newClass)
Narrow the remote object.
|
static void |
setORB(ORB orb)
Set the ORB to be used for RMI communications.
|
java.rmi.Remote |
toStub(java.rmi.Remote obj)
Return the Stub for a RMI object.
|
void |
unexportObject(java.rmi.Remote obj)
Deactivate the exported RMI object.
|
public static ORB getORB()
public static void setORB(ORB orb)
orb - The ORB to usepublic void exportObject(java.rmi.Remote obj)
throws java.rmi.RemoteException
exportObject in interface javax.rmi.CORBA.PortableRemoteObjectDelegatejava.rmi.RemoteExceptionPortableRemoteObjectDelegate.exportObject(java.rmi.Remote)public java.rmi.Remote toStub(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
toStub in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - The RMI objectjava.rmi.NoSuchObjectExceptionPortableRemoteObjectDelegate.toStub(java.rmi.Remote)public void unexportObject(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
unexportObject in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - The RMI objectjava.rmi.NoSuchObjectExceptionPortableRemoteObjectDelegate.unexportObject(java.rmi.Remote)public java.lang.Object narrow(java.lang.Object obj,
java.lang.Class newClass)
throws java.lang.ClassCastException
narrow in interface javax.rmi.CORBA.PortableRemoteObjectDelegateobj - The remote objectnewClass - The class to narrow tojava.lang.ClassCastExceptionPortableRemoteObjectDelegate.narrow(java.lang.Object, java.lang.Class)public void connect(java.rmi.Remote target,
java.rmi.Remote source)
throws java.rmi.RemoteException
connect in interface javax.rmi.CORBA.PortableRemoteObjectDelegatejava.rmi.RemoteExceptionPortableRemoteObjectDelegate.connect(java.rmi.Remote, java.rmi.Remote)