java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteStub
- 所有已实现的接口:
-
Serializable,Remote
- 直接已知子类:
-
RMIConnectionImpl_Stub,RMIServerImpl_Stub
Deprecated.
RemoteStub 类是静态生成的客户端存根的通用超类,并提供支持广泛的远程引用语义的框架。 存根对象是代理,支持与远程对象的实际实现定义的完全相同的一组远程接口。
- 自版本:
- 1.1
- 参见:
-
Field Summary
Fields declared in class java.rmi.server.RemoteObject
ref -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected已弃用。构造一个RemoteStub。protectedRemoteStub(RemoteRef ref) 已弃用。构造一个带有指定远程引用的RemoteStub。 -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidsetRef(RemoteStub stub, RemoteRef ref) 已弃用。没有替代方法。
-
Constructor Details
-
RemoteStub
protected RemoteStub()Deprecated.构造一个RemoteStub。 -
RemoteStub
Deprecated.构造一个带有指定远程引用的RemoteStub。- 参数:
-
ref- 远程引用 - 自版本:
- 1.1
-
-
Method Details
-
setRef
Deprecated.No replacement. ThesetRefmethod was intended for setting the remote reference of a remote stub. This is unnecessary, sinceRemoteStubs can be created and initialized with a remote reference through use of theRemoteStub(RemoteRef)constructor.- 参数:
-
stub- 远程存根 -
ref- 远程引用 - 抛出:
-
UnsupportedOperationException- 总是 - 自版本:
- 1.1
-
UnicastRemoteObjectfor information about dynamic stub generation.