javax.rmi.CORBA
Interface PortableRemoteObjectDelegate
- public interface PortableRemoteObjectDelegate
The implementation delegate class for javax.rmi.PortableRemoteObject must implement the
following interface for per-class delegation.
- Version:
- $Revision: 1.2 $ $Date: 2004/02/10 21:02:52 $
- Author:
- Jerome Daniel
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 newClass)
|
java.rmi.Remote |
toStub(java.rmi.Remote obj)
|
void |
unexportObject(java.rmi.Remote obj)
|
exportObject
public void exportObject(java.rmi.Remote obj)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
toStub
public java.rmi.Remote toStub(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
- Throws:
java.rmi.NoSuchObjectException
unexportObject
public void unexportObject(java.rmi.Remote obj)
throws java.rmi.NoSuchObjectException
- Throws:
java.rmi.NoSuchObjectException
narrow
public java.lang.Object narrow(java.lang.Object obj,
java.lang.Class newClass)
throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
connect
public void connect(java.rmi.Remote target,
java.rmi.Remote source)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException