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.
-
RemoteStub()
- Constructor for RemoteStub.
-
RemoteStub(RemoteRef)
- Constructor for RemoteStub, with the specified remote reference.
-
getStub(Remote, RemoteRef)
- Locate a RemoteStub object corresponding to the supplied Remote
-
getStub(String, RemoteRef)
- Create a RemoteStub for the specified implementation class,
initialized to the specified RemoteRef.
RemoteStub
protected RemoteStub()
- Constructor for RemoteStub.
RemoteStub
protected RemoteStub(RemoteRef ref)
- Constructor for RemoteStub, with the specified remote reference.
getStub
public static RemoteStub getStub(Remote object,
RemoteRef ref) throws StubNotFoundException
- Locate a RemoteStub object corresponding to the supplied Remote
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