javax.rmi.CORBA
Interface PortableRemoteObjectDelegate


public interface PortableRemoteObjectDelegate

Supports delegation for method implementations in PortableRemoteObject. The delegate is a singleton instance of a class that implements this interface and provides a replacement implementation for all the methods of javax.rmi.PortableRemoteObject. Delegates are enabled by providing the delegate's class name as the value of the javax.rmi.CORBA.PortableRemoteObjectClass system property.

See Also:
PortableRemoteObject

Method Summary
 void connect(java.rmi.Remote target, java.rmi.Remote source)
          Delegation call for PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).
 void exportObject(java.rmi.Remote obj)
          Delegation call for PortableRemoteObject.exportObject(java.rmi.Remote).
 java.lang.Object narrow(java.lang.Object narrowFrom, java.lang.Class narrowTo)
          Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class).
 java.rmi.Remote toStub(java.rmi.Remote obj)
          Delegation call for PortableRemoteObject.toStub(java.rmi.Remote).
 void unexportObject(java.rmi.Remote obj)
          Delegation call for PortableRemoteObject.unexportObject(java.rmi.Remote).
 

Method Detail

exportObject

public void exportObject(java.rmi.Remote obj)
                  throws java.rmi.RemoteException
Delegation call for PortableRemoteObject.exportObject(java.rmi.Remote).

toStub

public java.rmi.Remote toStub(java.rmi.Remote obj)
                       throws java.rmi.NoSuchObjectException
Delegation call for PortableRemoteObject.toStub(java.rmi.Remote).

unexportObject

public void unexportObject(java.rmi.Remote obj)
                    throws java.rmi.NoSuchObjectException
Delegation call for PortableRemoteObject.unexportObject(java.rmi.Remote).

narrow

public java.lang.Object narrow(java.lang.Object narrowFrom,
                               java.lang.Class narrowTo)
                        throws java.lang.ClassCastException
Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class).

connect

public void connect(java.rmi.Remote target,
                    java.rmi.Remote source)
             throws java.rmi.RemoteException
Delegation call for PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).