RemoteStub (Java SE 10 & JDK 10 )
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteStub
-
- All Implemented Interfaces:
Serializable,Remote
- Direct Known Subclasses:
ActivationGroup_Stub,RMIConnectionImpl_Stub,RMIServerImpl_Stub
@Deprecated public abstract class RemoteStub extends RemoteObject
The
RemoteStubclass is the common superclass of statically generated 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.- Since:
- 1.1
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields declared in class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteStub()Deprecated.
Constructs a
RemoteStub.protectedRemoteStub(RemoteRef ref)Deprecated.
Constructs a
RemoteStubwith the specified remote reference.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static voidsetRef(RemoteStub stub, RemoteRef ref)Deprecated.
No replacement.
-
-
-
Constructor Detail
-
RemoteStub
protected RemoteStub()
Deprecated.
Constructs a
RemoteStub.
-
RemoteStub
protected RemoteStub(RemoteRef ref)
Deprecated.
Constructs a
RemoteStubwith the specified remote reference.- Parameters:
ref- the remote reference- Since:
- 1.1
-
-
Method Detail
-
setRef
@Deprecated protected static void setRef(RemoteStub stub, RemoteRef ref)
- Parameters:
stub- the remote stubref- the remote reference- Throws:
UnsupportedOperationException- always- Since:
- 1.1
-
-
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.