java命名空间java.rmi.activation类activationgroup_stub的类成员方法:
activationgroup_stub定义及介绍
本文导语:
activationgroup_stub
public activationgroup_stub(remoteref ref)
为 activationgroup 类构造一个 stub。它使用参数 ref 来调用超类的 remotestub(remoteref) 构造方法。
参数:ref - 一个远程引用
newinstance
public marshalledob...
activationgroup_stub
public activationgroup_stub(remoteref ref)
- 为
activationgroup 类构造一个 stub。它使用参数 ref 来调用超类的 remotestub(remoteref) 构造方法。
- 参数:
ref - 一个远程引用
newinstance
public marshalledobject newinstance(activationid id,
activationdesc desc)
throws remoteexception,
activationexception
activationgroup.newinstance 的 stub 方法。使用 this 作为第一个参数,一个两元素的 object[] 作为第二参数(id 作为第一个元素,desc 作为第二个元素),以及 -5274445189091581345l 作为第三个参数,在此实例的 remoteobject.ref 字段上调用 invoke 方法,并且返回调用结果。如果该调用抛出 runtimeexception、remoteexception 或者 activationexception,则该异常将被抛给调用者。如果该调用抛出任何其他 java.lang.exception,则 java.rmi.unexpectedexception 连同最初的异常当作原因一起抛给调用者。
- 指定者:
- 接口
activationinstantiator 中的 newinstance
- 参数:
id - 一个激活标识符desc - 一个激活描述符
- 返回:
- 调用的结果
- 抛出:
remoteexception - 如果调用导致 remoteexception
activationexception - 如果调用导致 activationexception