クラス NotificationListenerBean

java.lang.ObjectSE
org.springframework.jmx.support.NotificationListenerHolder
org.springframework.jmx.export.NotificationListenerBean
実装されたすべてのインターフェース:
InitializingBean

public class NotificationListenerBean extends NotificationListenerHolder implements InitializingBean
NotificationListenerSENotificationFilterSE、任意のハンドバックオブジェクトを集約するヘルパークラス。

また、カプセル化された NotificationListenerSE を、mappedObjectNames プロパティを介して NotificationsSE を受信する任意の数の MBean に関連付けるためのサポートも提供します。

メモ: このクラスは、JMX オブジェクト名を指定する代わりに、Spring Bean 名を "mappedObjectNames" としてもサポートします。このような Bean 名では、同じ MBeanExporter によってエクスポートされた Bean のみがサポートされることに注意してください。

導入:
2.0
作成者:
Rob Harrop, Juergen Hoeller
関連事項:
  • コンストラクターの詳細

    • NotificationListenerBean

      public NotificationListenerBean()
      NotificationListenerBean クラスの新しいインスタンスを作成します。
    • NotificationListenerBean

      public NotificationListenerBean(NotificationListenerSE notificationListener)
      NotificationListenerBean クラスの新しいインスタンスを作成します。
      パラメーター:
      notificationListener - カプセル化されたリスナー
  • メソッドの詳細

    • afterPropertiesSet

      public void afterPropertiesSet()
      インターフェースからコピーされた説明: InitializingBean
      すべての Bean プロパティを設定し、BeanFactoryAwareApplicationContextAware などを満たした後、包含 BeanFactory によって呼び出されます。

      このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。

      次で指定:
      インターフェース InitializingBeanafterPropertiesSet