## 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` A ServerRef represents the server-side handle for a remote object implementation.

    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 is not needed since `RemoteStub`s can be created with the `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)` 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, 2014, Oracle and/or its affiliates. All rights reserved.