org.objectweb.david.libs.binding.rmi
Class ORBPortableRemoteObjectDelegate
java.lang.Object
org.objectweb.david.libs.binding.rmi.ORBPortableRemoteObjectDelegate
- All Implemented Interfaces:
- DefaultStubTable, javax.rmi.CORBA.PortableRemoteObjectDelegate
- public class ORBPortableRemoteObjectDelegate
- extends java.lang.Object
- implements javax.rmi.CORBA.PortableRemoteObjectDelegate, DefaultStubTable
This class provides an implementation for PortableRemoteObjectDelegate
. It uses the connect
and disconnect
methods of ORB
.
Method Summary |
void |
connect(java.rmi.Remote target,
java.rmi.Remote source)
|
void |
exportObject(java.rmi.Remote obj)
|
java.lang.Object |
narrow(java.lang.Object obj,
java.lang.Class new_class)
|
java.rmi.Remote |
toStub(java.rmi.Remote obj)
|
void |
unexportObject(java.rmi.Remote obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORBPortableRemoteObjectDelegate
public ORBPortableRemoteObjectDelegate()
- Constructs a new ORBPortableRemoteObjectDelegate instance.
exportObject
public void exportObject(java.rmi.Remote obj)
throws java.rmi.RemoteException
- Specified by:
exportObject
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
- Throws:
java.rmi.RemoteException
toStub
public java.rmi.Remote toStub(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
- Specified by:
toStub
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
- Throws:
java.rmi.NoSuchObjectException
unexportObject
public void unexportObject(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
- Specified by:
unexportObject
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
- Throws:
java.rmi.NoSuchObjectException
narrow
public java.lang.Object narrow(java.lang.Object obj,
java.lang.Class new_class)
throws java.lang.ClassCastException
- Specified by:
narrow
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
- Throws:
java.lang.ClassCastException
connect
public void connect(java.rmi.Remote target,
java.rmi.Remote source)
throws java.rmi.RemoteException
- Specified by:
connect
in interface javax.rmi.CORBA.PortableRemoteObjectDelegate
- Throws:
java.rmi.RemoteException