- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteStub
-
- 实现的所有接口
-
Serializable,Remote
@Deprecated public abstract class RemoteStub extends RemoteObject
Deprecated.Statically generated stubs are deprecated, since stubs are generated dynamically. SeeUnicastRemoteObjectfor information about dynamic stub generation.RemoteStub类是静态生成的客户端存根的公共超类,并提供支持各种远程引用语义的框架。 存根对象是支持完全由远程对象的实际实现定义的同一组远程接口的代理。- 从以下版本开始:
- 1.1
- 另请参见:
- Serialized Form
-
-
字段汇总
-
声明的属性在类 java.rmi.server.RemoteObject
ref
-
-
构造方法摘要
构造方法 变量 构造器 描述 protectedRemoteStub()已过时。构造一个RemoteStub。protectedRemoteStub(RemoteRef ref)已过时。使用指定的远程引用构造一个RemoteStub。
-
-
-
构造方法详细信息
-
RemoteStub
protected RemoteStub()
Deprecated.构造一个RemoteStub。
-
RemoteStub
protected RemoteStub(RemoteRef ref)
Deprecated.使用指定的远程引用构造一个RemoteStub。- 参数
-
ref- 远程引用 - 从以下版本开始:
- 1.1
-
-
方法详细信息
-
setRef
@Deprecated protected static void setRef(RemoteStub stub, RemoteRef ref)
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
-
-