## Uses of Class
javax.rmi.CORBA.Stub

- Packages that use Stub
  Package | Description
  --- | ---
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
  org.omg.stub.java.rmi | Contains RMI-IIOP Stubs for the Remote types that occur in the `java.rmi` package.

- - ### Uses of Stub in javax.rmi.CORBA

    Methods in javax.rmi.CORBA with parameters of type Stub
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | StubDelegate.`connect(Stub self, ORB orb)` Delegation call for `connect(org.omg.CORBA.ORB)`.
    `boolean` | StubDelegate.`equals(Stub self, Object obj)` Delegation call for `equals(java.lang.Object)`.
    `int` | StubDelegate.`hashCode(Stub self)` Delegation call for `hashCode()`.
    `boolean` | UtilDelegate.`isLocal(Stub stub)` Delegation call for `Util.isLocal(javax.rmi.CORBA.Stub)`.
    `static boolean` | Util.`isLocal(Stub stub)` The `isLocal` method has the same semantics as the `ObjectImpl._is_local` method, except that it can throw a `RemoteException`.
    `void` | StubDelegate.`readObject(Stub self, ObjectInputStream s)` Delegation call for `Stub.readObject(java.io.ObjectInputStream)`.
    `String` | StubDelegate.`toString(Stub self)` Delegation call for `toString()`.
    `void` | StubDelegate.`writeObject(Stub self, ObjectOutputStream s)` Delegation call for `Stub.writeObject(java.io.ObjectOutputStream)`.

  - ### Uses of Stub in org.omg.stub.java.rmi

    Subclasses of Stub in org.omg.stub.java.rmi
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `_Remote_Stub` This class provides the Stub for the Remote Type.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.