java命名空间javax.management.remote.rmi接口rmiconnection的类成员方法:
removenotificationlistener定义及介绍
本文导语:
removenotificationlistener
void removenotificationlistener(objectname name,
objectname listener,
subject delegationsubject)
throws instancenotfoundexception,
li...
removenotificationlistener
void removenotificationlistener(objectname name,
objectname listener,
subject delegationsubject)
throws instancenotfoundexception,
listenernotfoundexception,
ioexception
- 处理
mbeanserverconnection.removenotificationlistener(objectname, objectname) 方法。
- 参数:
name - 应在其上移除侦听器的 mbean 的名称。listener - 要移除的侦听器的对象名。delegationsubject - 包含委托 principal 的 subject,如果使用了验证 principal,则为 null。
- 抛出:
instancenotfoundexception - 所提供的 mbean 名称不与任何已注册 mbean 匹配。
listenernotfoundexception - 侦听器未在 mbean 中注册。
securityexception - 如果客户端或委托的 subject(如果有)没有执行此操作的权限。
ioexception - 如果出现通用通信异常。
runtimeoperationsexception - 当 name 或 listener 为 null 时包装了 illegalargumentexception。- 另请参见:
addnotificationlistener(javax.management.objectname, javax.management.objectname, java.rmi.marshalledobject, java.rmi.marshalledobject, javax.security.auth.subject)