UnicastRemoteObject
有关动态存根生成信息。
@Deprecated public abstract class RemoteStub extends RemoteObject
RemoteStub
类是静态生成的客户端存根的常见RemoteStub
类,并提供了支持各种远程引用语义的框架。
Stub对象是支持由远程对象的实际实现定义的完全相同的远程接口集的代理。
ref
Modifier | Constructor and Description |
---|---|
protected |
RemoteStub()
已弃用
构造一个
RemoteStub 。
|
protected |
RemoteStub(RemoteRef ref)
已弃用
构造一个
RemoteStub 具有指定远程引用。
|
protected RemoteStub()
RemoteStub
。
protected RemoteStub(RemoteRef ref)
RemoteStub
具有指定远程引用。
ref
- 远程参考
@Deprecated protected static void setRef(RemoteStub stub, RemoteRef ref)
stub
- 远程存根
ref
- 远程参考
UnsupportedOperationException
- 永远
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.