Uses of Interface java.rmi.server.RemoteRef (Java SE 9 & JDK 9 )

## Uses of Interface
java.rmi.server.RemoteRef

- Packages that use RemoteRef
  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 RemoteRef in java.rmi.activation

    Constructors in java.rmi.activation with parameters of type RemoteRef
    Constructor | Description
    --- | ---
    `ActivationGroup_Stub​(RemoteRef ref)` | Constructs a stub for the `ActivationGroup` class.

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

    Subinterfaces of RemoteRef in java.rmi.server
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ServerRef` | Deprecated. No replacement. This interface is unused and is obsolete.

    Fields in java.rmi.server declared as RemoteRef
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected RemoteRef` | RemoteObject.`ref` | The object's remote reference.

    Methods in java.rmi.server that return RemoteRef
    Modifier and Type | Method | Description
    --- | --- | ---
    `RemoteRef` | RemoteObject.`getRef​()` | Returns the remote reference for the remote object.

    Methods in java.rmi.server with parameters of type RemoteRef
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | RemoteRef.`remoteEquals​(RemoteRef obj)` | Compares two remote objects for equality.
    `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.

    Constructors in java.rmi.server with parameters of type RemoteRef
    Constructor | Description
    --- | ---
    `RemoteObject​(RemoteRef newref)` | Creates a remote object, initialized with the specified remote reference.
    `RemoteObjectInvocationHandler​(RemoteRef ref)` | Creates a new `RemoteObjectInvocationHandler` constructed with the specified `RemoteRef`.
    `RemoteServer​(RemoteRef ref)` | Constructs a `RemoteServer` with the given reference type.
    `RemoteStub​(RemoteRef ref)` | Deprecated. Constructs a `RemoteStub` with the specified remote reference.

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

    Constructors in javax.management.remote.rmi with parameters of type RemoteRef
    Constructor | Description
    --- | ---
    `RMIConnectionImpl_Stub​(RemoteRef ref)` |
    `RMIServerImpl_Stub​(RemoteRef ref)` |