クラス NotificationListenerBean
java.lang.ObjectSE
org.springframework.jmx.support.NotificationListenerHolder
org.springframework.jmx.export.NotificationListenerBean
- 実装されたすべてのインターフェース:
InitializingBean
public class NotificationListenerBean
extends NotificationListenerHolder
implements InitializingBean
NotificationListener
SE、NotificationFilter
SE、任意のハンドバックオブジェクトを集約するヘルパークラス。 また、カプセル化された NotificationListener
SE を、mappedObjectNames
プロパティを介して Notifications
SE を受信する任意の数の MBean に関連付けるためのサポートも提供します。
メモ: このクラスは、JMX オブジェクト名を指定する代わりに、Spring Bean 名を "mappedObjectNames"
としてもサポートします。このような Bean 名では、同じ MBeanExporter
によってエクスポートされた Bean のみがサポートされることに注意してください。
- 導入:
- 2.0
- 作成者:
- Rob Harrop, Juergen Hoeller
- 関連事項:
フィールドサマリー
クラス org.springframework.jmx.support.NotificationListenerHolder から継承されたフィールド
mappedObjectNames
コンストラクターのサマリー
コンストラクター説明NotificationListenerBean
クラスの新しいインスタンスを作成します。NotificationListenerBean
(NotificationListenerSE notificationListener) NotificationListenerBean
クラスの新しいインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明void
クラス org.springframework.jmx.support.NotificationListenerHolder から継承されたメソッド
equals, getHandback, getNotificationFilter, getNotificationListener, getResolvedObjectNames, hashCode, setHandback, setMappedObjectName, setMappedObjectNames, setNotificationFilter, setNotificationListener
コンストラクターの詳細
NotificationListenerBean
public NotificationListenerBean()NotificationListenerBean
クラスの新しいインスタンスを作成します。NotificationListenerBean
NotificationListenerBean
クラスの新しいインスタンスを作成します。- パラメーター:
notificationListener
- カプセル化されたリスナー
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()インターフェースからコピーされた説明:InitializingBean
すべての Bean プロパティを設定し、BeanFactoryAware
、ApplicationContextAware
などを満たした後、包含BeanFactory
によって呼び出されます。このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。
- 次で指定:
- インターフェース
InitializingBean
のafterPropertiesSet