|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.rmi.PortableRemoteObjectDelegateImpl
Constructor Summary | |
---|---|
PortableRemoteObjectDelegateImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortableRemoteObjectDelegateImpl()
Method Detail |
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.PortableRemoteObjectDelegate
java.rmi.RemoteException
PortableRemoteObjectDelegate.exportObject(java.rmi.Remote)
public java.rmi.Remote toStub(java.rmi.Remote obj) throws java.rmi.NoSuchObjectException
toStub
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
obj
- The RMI object
java.rmi.NoSuchObjectException
PortableRemoteObjectDelegate.toStub(java.rmi.Remote)
public void unexportObject(java.rmi.Remote obj) throws java.rmi.NoSuchObjectException
unexportObject
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
obj
- The RMI object
java.rmi.NoSuchObjectException
PortableRemoteObjectDelegate.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.PortableRemoteObjectDelegate
obj
- The remote objectnewClass
- The class to narrow to
java.lang.ClassCastException
PortableRemoteObjectDelegate.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.PortableRemoteObjectDelegate
java.rmi.RemoteException
PortableRemoteObjectDelegate.connect(java.rmi.Remote, java.rmi.Remote)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |