|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jmx.support.NotificationListenerHolder org.springframework.jmx.export.NotificationListenerBean
public class NotificationListenerBean
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 Spring 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.
MBeanExporter.setNotificationListeners(org.springframework.jmx.export.NotificationListenerBean[])
Field Summary |
---|
Fields inherited from class org.springframework.jmx.support.NotificationListenerHolder |
---|
mappedObjectNames |
Constructor Summary | |
---|---|
NotificationListenerBean()
Create a new instance of the NotificationListenerBean class. |
|
NotificationListenerBean(NotificationListener notificationListener)
Create a new instance of the NotificationListenerBean class. |
Method Summary | |
---|---|
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware). |
Methods inherited from class org.springframework.jmx.support.NotificationListenerHolder |
---|
equals, getHandback, getNotificationFilter, getNotificationListener, getResolvedObjectNames, hashCode, setHandback, setMappedObjectName, setMappedObjectNames, setNotificationFilter, setNotificationListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationListenerBean()
NotificationListenerBean
class.
public NotificationListenerBean(NotificationListener notificationListener)
NotificationListenerBean
class.
notificationListener
- the encapsulated listenerMethod Detail |
---|
public void afterPropertiesSet()
InitializingBean
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
afterPropertiesSet
in interface InitializingBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |