java.lang.Object | ||
↳ | org.springframework.jmx.support.NotificationListenerHolder | |
↳ | org.springframework.jmx.export.NotificationListenerBean |
Helper class that aggregates a javax.management.NotificationListener, a javax.management.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.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jmx.support.NotificationListenerHolder
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance of the
NotificationListenerBean class. | |||||||||||
Create a new instance of the
NotificationListenerBean class. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jmx.support.NotificationListenerHolder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Create a new instance of the NotificationListenerBean
class.
notificationListener | the encapsulated listener |
---|
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
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.