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

## 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 and 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 and 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 and Description
    --- | ---
    `protected RemoteRef` | RemoteObject.`ref` The object's remote reference.

    Methods in java.rmi.server that return RemoteRef
    Modifier and Type | Method and 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 and 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.RemoteStub(RemoteRef)` constructor.

    Constructors in java.rmi.server with parameters of type RemoteRef
    Constructor and 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 and Description
    `RMIConnectionImpl_Stub(RemoteRef ref)`
    `RMIServerImpl_Stub(RemoteRef ref)`

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.