Class java.rmi.server.RemoteStub
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.rmi.server.RemoteStub

java.lang.Object
   |
   +----java.rmi.server.RemoteObject
           |
           +----java.rmi.server.RemoteStub

public class RemoteStub
extends RemoteObject
The RemoteStub class is the common superclass to all 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.

Constructor Index

 o RemoteStub()
Constructor for RemoteStub.
 o RemoteStub(RemoteRef)
Constructor for RemoteStub, with the specified remote reference.

Method Index

 o getStub(Remote, RemoteRef)
Locate a RemoteStub object corresponding to the supplied Remote
 o getStub(String, RemoteRef)
Create a RemoteStub for the specified implementation class, initialized to the specified RemoteRef.

Constructors

 o RemoteStub
  protected RemoteStub()
Constructor for RemoteStub.
 o RemoteStub
  protected RemoteStub(RemoteRef ref)
Constructor for RemoteStub, with the specified remote reference.

Methods

 o getStub
  public static RemoteStub getStub(Remote object,
                                   RemoteRef ref) throws StubNotFoundException
Locate a RemoteStub object corresponding to the supplied Remote
 o getStub
  public static RemoteStub getStub(String classname,
                                   RemoteRef ref) throws StubNotFoundException
Create a RemoteStub for the specified implementation class, initialized to the specified RemoteRef. The classname is extended with the suffix for stub classes. The class is found, an instance created, and the RemoteRef is set.

All Packages  Class Hierarchy  This Package  Previous  Next  Index