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