Save This Page
Home » openjdk-7 » javax » rmi » CORBA » [javadoc | source]
javax.rmi.CORBA
abstract public class: Stub [javadoc | source]
java.lang.Object
   org.omg.CORBA.portable.ObjectImpl
      org.omg.CORBA_2_3.portable.ObjectImpl
         javax.rmi.CORBA.Stub

All Implemented Interfaces:
    Serializable, Object

Base class from which all RMI-IIOP stubs must inherit.
Method from javax.rmi.CORBA.Stub Summary:
connect,   equals,   hashCode,   toString
Methods from org.omg.CORBA_2_3.portable.ObjectImpl:
_get_codebase
Methods from org.omg.CORBA.portable.ObjectImpl:
_create_request,   _create_request,   _duplicate,   _get_delegate,   _get_domain_managers,   _get_interface_def,   _get_policy,   _hash,   _ids,   _invoke,   _is_a,   _is_equivalent,   _is_local,   _non_existent,   _orb,   _release,   _releaseReply,   _request,   _request,   _servant_postinvoke,   _servant_preinvoke,   _set_delegate,   _set_policy_override,   equals,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.rmi.CORBA.Stub Detail:
 public  void connect(ORB orb) throws RemoteException 
    Connects this stub to an ORB. Required after the stub is deserialized but not after it is demarshalled by an ORB stream. If an unconnected stub is passed to an ORB stream for marshalling, it is implicitly connected to that ORB. Application code should not call this method directly, but should call the portable wrapper method javax.rmi.PortableRemoteObject#connect .
 public boolean equals(Object obj) 
    Compares two stubs for equality. Returns true when used to compare stubs that represent the same remote object, and false otherwise.
 public int hashCode() 
    Returns a hash code value for the object which is the same for all stubs that represent the same remote object.
 public String toString() 
    Returns a string representation of this stub. Returns the same string for all stubs that represent the same remote object.