java命名空间javax.management.remote.rmi类rmiconnectionimpl_stub的类成员方法:
rmiconnectionimpl_stub定义及介绍
本文导语:
rmiconnectionimpl_stub
public rmiconnectionimpl_stub(remoteref ref)
addnotificationlistener
public void addnotificationlistener(objectname $param_objectname_1,
objectname $param_objectname_2,
...
rmiconnectionimpl_stub
public rmiconnectionimpl_stub(remoteref ref)
addnotificationlistener
public void addnotificationlistener(objectname $param_objectname_1,
objectname $param_objectname_2,
marshalledobject $param_marshalledobject_3,
marshalledobject $param_marshalledobject_4,
subject $param_subject_5)
throws ioexception,
instancenotfoundexception
- 从接口
rmiconnection 复制的描述
- 处理
mbeanserverconnection.addnotificationlistener(objectname, objectname, notificationfilter, object) 方法。notificationfilter 参数包装在 marshalledobject 中。object (handback) 参数也包装在 marshalledobject 中。
- 指定者:
- 接口
rmiconnection 中的 addnotificationlistener
- 参数:
$param_objectname_1 - 应在其上添加侦听器的 mbean 的名称。$param_objectname_2 - 将处理由已注册的 mbean 发出通知的侦听器的对象名。$param_marshalledobject_3 - 过滤器对象,封装在 marshalledobject 中。如果封装在 marshalledobject 中的过滤器的值为 null,则在对通知处理之前不执行任何过滤。$param_marshalledobject_4 - 通知发出时发送到侦听器的上下文,封装在 marshalledobject 中。$param_subject_5 - 包含委托
iis7站长之家 的 subject,如果使用了验证 principal,则为 null。
- 抛出:
ioexception - 如果出现通用通信异常。
instancenotfoundexception - 通知侦听器或通知广播器的 mbean 名称不与注册的任何 mbean 匹配。- 另请参见:
rmiconnection.removenotificationlistener(objectname, objectname, subject),
rmiconnection.removenotificationlistener(objectname, objectname, marshalledobject, marshalledobject, subject)