java命名空间javax.management.remote.rmi类rmiconnectionimpl的类成员方法:
removenotificationlistener定义及介绍
本文导语:
removenotificationlistener
public void removenotificationlistener(objectname name,
objectname listener,
marshalledobject filter,
marshalledobject handback,
...
removenotificationlistener
public void removenotificationlistener(objectname name,
objectname listener,
marshalledobject filter,
marshalledobject handback,
subject delegationsubject)
throws instancenotfoundexception,
listenernotfoundexception,
ioexception
- 从接口
rmiconnection 复制的描述
- 处理
mbeanserverconnection.removenotificationlistener(objectname, objectname, notificationfilter, object) 方法。notificationfilter 参数包装在 marshalledobject 中。object 参数也包装在 marshalledobject 中。
- 指定者:
- 接口
rmiconnection 中的 removenotificationlistener
- 参数:
name - 应在其上移除侦听器的 mbean 的名称。listener - 原先添加到此 mbean 的侦听器。filter - 添加侦听器时指定的过滤器,它封装在 marshalledobject 中。handback - 添加侦听器时指定的 handback,它封装在 marshalledobject 中。delegationsubject - 包含委托 principal 的 subject,如果使用了验证 principal,则为 null。
- 抛出:
instancenotfoundexception - 所提供的 mbean 名称不与任何已注册 mbean 匹配。
listenernotfoundexception - 侦听器未在 mbean 中注册,或者未用给定的过滤器和 handback 注册。
ioexception - 如果出现通用通信异常。- 另请参见:
rmiconnection.addnotificationlistener(javax.management.objectname, javax.management.objectname, java.rmi.marshalledobject, java.rmi.marshalledobject, javax.security.auth.subject)