W3cubDocs

/OpenJDK 8 Web

Interface StubDelegate

public interface StubDelegate

Supports delegation for method implementations in Stub. A delegate is an instance of a class that implements this interface and provides a replacement implementation for all the methods of javax.rmi.CORBA.Stub. If delegation is enabled, each stub has an associated delegate. Delegates are enabled by providing the delegate's class name as the value of the javax.rmi.CORBA.StubClass system property.

See Also:
Stub

Methods

hashCode

int hashCode(Stub self)

Delegation call for Stub.hashCode().

equals

boolean equals(Stub self,
               Object obj)

Delegation call for Stub.equals(java.lang.Object).

toString

String toString(Stub self)

Delegation call for Stub.toString().

connect

void connect(Stub self,
             ORB orb)
      throws RemoteException

Delegation call for Stub.connect(org.omg.CORBA.ORB).

Throws:
RemoteException

readObject

void readObject(Stub self,
                ObjectInputStream s)
         throws IOException,
                ClassNotFoundException

Delegation call for Stub.readObject(java.io.ObjectInputStream).

Throws:
IOException
ClassNotFoundException

writeObject

void writeObject(Stub self,
                 ObjectOutputStream s)
          throws IOException

Delegation call for Stub.writeObject(java.io.ObjectOutputStream).

Throws:
IOException

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.