Uses of Class java.rmi.server.RemoteStub (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Class
java.rmi.server.RemoteStub

- Packages that use RemoteStub
  Package | Description
  --- | ---
  java.rmi.activation | Provides support for RMI Object Activation.
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
  javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.

- - ### Uses of RemoteStub in java.rmi.activation

    Subclasses of RemoteStub in java.rmi.activation
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActivationGroup_Stub` `ActivationGroup_Stub` is a stub class for the subclasses of `java.rmi.activation.ActivationGroup` that are exported as a `java.rmi.server.UnicastRemoteObject`.

  - ### Uses of RemoteStub in java.rmi.server

    Methods in java.rmi.server that return RemoteStub
    Modifier and Type | Method and Description
    --- | ---
    `static RemoteStub` | UnicastRemoteObject.`exportObject(Remote obj)` Deprecated. This method is deprecated because it supports only static stubs. Use `exportObject(Remote, port)` or `exportObject(Remote, port, csf, ssf)` instead.
    `RemoteStub` | ServerRef.`exportObject(Remote obj, Object data)` Deprecated. Creates a client stub object for the supplied Remote object.

    Methods in java.rmi.server with parameters of type RemoteStub
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | RemoteStub.`setRef(RemoteStub stub, RemoteRef ref)` Deprecated. No replacement. The `setRef` method was intended for setting the remote reference of a remote stub. This is unnecessary, since `RemoteStub`s can be created and initialized with a remote reference through use of the `RemoteStub(RemoteRef)` constructor.

  - ### Uses of RemoteStub in javax.management.remote.rmi

    Subclasses of RemoteStub in javax.management.remote.rmi
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RMIConnectionImpl_Stub`
    `class` | `RMIServerImpl_Stub`

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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.