javax.rmi.CORBA
Interface PortableRemoteObjectDelegate


public interface PortableRemoteObjectDelegate

Supports delegation for method implementations in PortableRemoteObject sample code for javax.rmi.PortableRemoteObject definition code for javax.rmi.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 sample code for javax.rmi.PortableRemoteObject definition code for javax.rmi.PortableRemoteObject

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

Method Detail

exportObject sample code for javax.rmi.CORBA.PortableRemoteObjectDelegate.exportObject(java.rmi.Remote) definition code for javax.rmi.CORBA.PortableRemoteObjectDelegate.exportObject(java.rmi.Remote)

void exportObject(Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  obj)
                  throws RemoteException sample code for java.rmi.RemoteException definition code for java.rmi.RemoteException 
Delegation call for PortableRemoteObject.exportObject(java.rmi.Remote) sample code for javax.rmi.PortableRemoteObject.exportObject(java.rmi.Remote) definition code for javax.rmi.PortableRemoteObject.exportObject(java.rmi.Remote) .

Throws:
RemoteException sample code for java.rmi.RemoteException definition code for java.rmi.RemoteException

toStub sample code for javax.rmi.CORBA.PortableRemoteObjectDelegate.toStub(java.rmi.Remote) definition code for javax.rmi.CORBA.PortableRemoteObjectDelegate.toStub(java.rmi.Remote)

Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  toStub(Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  obj)
              throws NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException 
Delegation call for PortableRemoteObject.toStub(java.rmi.Remote) sample code for javax.rmi.PortableRemoteObject.toStub(java.rmi.Remote) definition code for javax.rmi.PortableRemoteObject.toStub(java.rmi.Remote) .

Throws:
NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException

unexportObject sample code for javax.rmi.CORBA.PortableRemoteObjectDelegate.unexportObject(java.rmi.Remote) definition code for javax.rmi.CORBA.PortableRemoteObjectDelegate.unexportObject(java.rmi.Remote)

void unexportObject(Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  obj)
                    throws NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException 
Delegation call for PortableRemoteObject.unexportObject(java.rmi.Remote) sample code for javax.rmi.PortableRemoteObject.unexportObject(java.rmi.Remote) definition code for javax.rmi.PortableRemoteObject.unexportObject(java.rmi.Remote) .

Throws:
NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException

narrow sample code for javax.rmi.CORBA.PortableRemoteObjectDelegate.narrow(java.lang.Object, java.lang.Class) definition code for javax.rmi.CORBA.PortableRemoteObjectDelegate.narrow(java.lang.Object, java.lang.Class)

Object sample code for java.lang.Object definition code for java.lang.Object  narrow(Object sample code for java.lang.Object definition code for java.lang.Object  narrowFrom,
              Class sample code for java.lang.Class definition code for java.lang.Class  narrowTo)
              throws ClassCastException sample code for java.lang.ClassCastException definition code for java.lang.ClassCastException 
Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) sample code for javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) definition code for javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) .

Throws:
ClassCastException sample code for java.lang.ClassCastException definition code for java.lang.ClassCastException

connect sample code for javax.rmi.CORBA.PortableRemoteObjectDelegate.connect(java.rmi.Remote, java.rmi.Remote) definition code for javax.rmi.CORBA.PortableRemoteObjectDelegate.connect(java.rmi.Remote, java.rmi.Remote)

void connect(Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  target,
             Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  source)
             throws RemoteException sample code for java.rmi.RemoteException definition code for java.rmi.RemoteException 
Delegation call for PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote) sample code for javax.rmi.PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote) definition code for javax.rmi.PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote) .

Throws:
RemoteException sample code for java.rmi.RemoteException definition code for java.rmi.RemoteException