/**
* Remove an attribute change notification event listener from this MBean.
*
* @param listener
* The listener to be removed
* @param name
* The attribute name for which no more events are required
*
*
* @exception ListenerNotFoundException
* if this listener is not registered in the MBean
*/
@Override
public void removeAttributeChangeNotificationListener(NotificationListener listener, String name)
throws ListenerNotFoundException {
if (listener == null)
throw new IllegalArgumentException("Listener is null");
// FIXME - currently this removes *all* notifications for this listener
if (attributeBroadcaster != null) {
attributeBroadcaster.removeNotificationListener(listener);
}
}
BaseModelMBean.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:lazycat
作者:
评论列表
文章目录