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