类 NotificationListenerBean
java.lang.Object
cn.taketoday.jmx.support.NotificationListenerHolder
cn.taketoday.jmx.export.NotificationListenerBean
- 所有已实现的接口:
InitializingBean
public class NotificationListenerBean
extends NotificationListenerHolder
implements InitializingBean
Helper class that aggregates a
NotificationListener,
a NotificationFilter, and an arbitrary handback object.
Also provides support for associating the encapsulated
NotificationListener with any number of
MBeans from which it wishes to receive
Notifications via the
mappedObjectNames property.
Note: This class supports Framework bean names as
"mappedObjectNames" as well, as alternative
to specifying JMX object names. Note that only beans exported by the
same MBeanExporter are supported for such bean names.
- 从以下版本开始:
- 4.0
- 作者:
- Rob Harrop, Juergen Hoeller
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.jmx.support.NotificationListenerHolder
mappedObjectNames -
构造器概要
构造器构造器说明Create a new instance of theNotificationListenerBeanclass.NotificationListenerBean(NotificationListener notificationListener) Create a new instance of theNotificationListenerBeanclass. -
方法概要
从类继承的方法 cn.taketoday.jmx.support.NotificationListenerHolder
equals, getHandback, getNotificationFilter, getNotificationListener, getResolvedObjectNames, hashCode, setHandback, setMappedObjectName, setMappedObjectNames, setNotificationFilter, setNotificationListener
-
构造器详细资料
-
NotificationListenerBean
public NotificationListenerBean()Create a new instance of theNotificationListenerBeanclass. -
NotificationListenerBean
Create a new instance of theNotificationListenerBeanclass.- 参数:
notificationListener- the encapsulated listener
-
-
方法详细资料
-
afterPropertiesSet
public void afterPropertiesSet()- 指定者:
afterPropertiesSet在接口中InitializingBean
-