javax.rmi.CORBA
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

Method Summary
 void connect(Stub self, org.omg.CORBA.ORB orb)
          Delegation call for Stub.connect(org.omg.CORBA.ORB).
 boolean equals(Stub self, java.lang.Object obj)
          Delegation call for Stub.equals(java.lang.Object).
 int hashCode(Stub self)
          Delegation call for Stub.hashCode().
 void readObject(Stub self, java.io.ObjectInputStream s)
          Delegation call for Stub.readObject(java.io.ObjectInputStream).
 java.lang.String toString(Stub self)
          Delegation call for Stub.toString().
 void writeObject(Stub self, java.io.ObjectOutputStream s)
          Delegation call for Stub.writeObject(java.io.ObjectOutputStream).
 

Method Detail

hashCode

public int hashCode(Stub self)
Delegation call for Stub.hashCode().

equals

public boolean equals(Stub self,
                      java.lang.Object obj)
Delegation call for Stub.equals(java.lang.Object).

toString

public java.lang.String toString(Stub self)
Delegation call for Stub.toString().

connect

public void connect(Stub self,
                    org.omg.CORBA.ORB orb)
             throws java.rmi.RemoteException
Delegation call for Stub.connect(org.omg.CORBA.ORB).

readObject

public void readObject(Stub self,
                       java.io.ObjectInputStream s)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Delegation call for Stub.readObject(java.io.ObjectInputStream).

writeObject

public void writeObject(Stub self,
                        java.io.ObjectOutputStream s)
                 throws java.io.IOException
Delegation call for Stub.writeObject(java.io.ObjectOutputStream).