クラス ModelMBeanNotificationPublisher
java.lang.ObjectSE
org.springframework.jmx.export.notification.ModelMBeanNotificationPublisher
- 実装されているすべてのインターフェース:
NotificationPublisher
ModelMBeanSE インターフェースによって提供されるインフラストラクチャを使用して javax.management.NotificationListenersSE を追跡し、NotificationsSE をそれらのリスナーに送信する NotificationPublisher 実装。- 導入:
- 2.0
- 作成者:
- Rob Harrop, Juergen Hoeller, Rick Evans
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明ModelMBeanNotificationPublisher(ModelMBeanNotificationBroadcasterSE modelMBean, ObjectNameSE objectName, ObjectSE managedResource) メソッドのサマリー
修飾子と型メソッド説明voidsendNotification(NotificationSE notification) ラップされたModelMBeanSE インスタンスを使用して、提供されたNotificationSE を送信します。
コンストラクターの詳細
ModelMBeanNotificationPublisher
public ModelMBeanNotificationPublisher(ModelMBeanNotificationBroadcasterSE modelMBean, ObjectNameSE objectName, ObjectSE managedResource) - パラメーター:
modelMBean- ターゲットModelMBeanSE;nullであってはならないobjectName- ソースModelMBeanSE のObjectNameSEmanagedResource- 提供されたModelMBeanSE によって公開されている管理対象リソース- 例外:
IllegalArgumentExceptionSE- パラメーターのいずれかがnullの場合
メソッドの詳細
sendNotification
ラップされたModelMBeanSE インスタンスを使用して、提供されたNotificationSE を送信します。- 次で指定:
- インターフェース
NotificationPublisherのsendNotification - パラメーター:
notification- 送信されるNotificationSE- 例外:
IllegalArgumentExceptionSE- 提供されたnotificationがnullの場合UnableToSendNotificationException- 提供されたnotificationを送信できなかった場合