java.rmi.server
Class RemoteStub
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteStub
- All Implemented Interfaces:
- Serializable, Remote
- Direct Known Subclasses:
- ActivationGroup_Stub
public abstract class RemoteStub
- extends RemoteObject
This is a base class for the automatically generated RMI stubs.
- See Also:
- Serialized Form
Constructor Summary |
protected |
RemoteStub()
Constructs the remote stub with no reference set. |
protected |
RemoteStub(RemoteRef ref)
Constructs the remote stub that uses given remote reference for the
method invocations. |
RemoteStub
protected RemoteStub()
- Constructs the remote stub with no reference set.
RemoteStub
protected RemoteStub(RemoteRef ref)
- Constructs the remote stub that uses given remote reference for the
method invocations.
- Parameters:
ref
- the remote reference for the method invocation.
setRef
protected static void setRef(RemoteStub stub,
RemoteRef ref)
- Deprecated.
- Sets the given remote reference for the given stub. This method is
deprecated. Pass the stub remote reference to the RemoteStub
constructor instead.