public abstract class

RemoteStub

extends RemoteObject
java.lang.Object
   ↳ java.rmi.server.RemoteObject
     ↳ java.rmi.server.RemoteStub

Class Overview

The RemoteStub class is the common superclass to client stubs and provides the framework to support a wide range of remote reference semantics. Stub objects are surrogates that support exactly the same set of remote interfaces defined by the actual implementation of the remote object.

Summary

[Expand]
Inherited Fields
From class java.rmi.server.RemoteObject
Protected Constructors
RemoteStub()
Constructs a RemoteStub.
RemoteStub(RemoteRef ref)
Constructs a RemoteStub, with the specified remote reference.
Protected Methods
static void setRef(RemoteStub stub, RemoteRef ref)
This method is deprecated. no replacement. The setRef method is not needed since RemoteStubs can be created with the RemoteStub(RemoteRef) constructor.
[Expand]
Inherited Methods
From class java.rmi.server.RemoteObject
From class java.lang.Object

Protected Constructors

protected RemoteStub ()

Constructs a RemoteStub.

protected RemoteStub (RemoteRef ref)

Constructs a RemoteStub, with the specified remote reference.

Parameters
ref the remote reference

Protected Methods

protected static void setRef (RemoteStub stub, RemoteRef ref)

This method is deprecated.
no replacement. The setRef method is not needed since RemoteStubs can be created with the RemoteStub(RemoteRef) constructor.

Sets the remote reference inside the remote stub.

Parameters
stub the remote stub
ref the remote reference