public class ModelMBeanNotificationPublisher extends ObjectSE implements NotificationPublisher
ModelMBean
SE インターフェースによって提供されるインフラストラクチャを使用して javax.management.NotificationListeners
SE を追跡し、Notifications
SE をそれらのリスナーに送信する NotificationPublisher
実装。ModelMBeanNotificationBroadcaster
SE, NotificationPublisherAware
コンストラクターと説明 |
---|
ModelMBeanNotificationPublisher(ModelMBeanNotificationBroadcasterSE modelMBean, ObjectNameSE objectName, ObjectSE managedResource) |
修飾子と型 | メソッドと説明 |
---|---|
void | sendNotification(NotificationSE notification) ラップされた ModelMBean SE インスタンスを使用して、提供された Notification SE を送信します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ModelMBeanNotificationPublisher(ModelMBeanNotificationBroadcasterSE modelMBean, ObjectNameSE objectName, ObjectSE managedResource)
modelMBean
- ターゲット ModelMBean
SE; null
であってはならない objectName
- ソース ModelMBean
SE の ObjectName
SEmanagedResource
- 提供された ModelMBean
SE によって公開されている管理対象リソース IllegalArgumentExceptionSE
- パラメーターのいずれかが null
の場合 public void sendNotification(NotificationSE notification)
ModelMBean
SE インスタンスを使用して、提供された Notification
SE を送信します。NotificationPublisher
の sendNotification
notification
- 送信される Notification
SEIllegalArgumentExceptionSE
- 提供された notification
が null
の場合 UnableToSendNotificationException
- 提供された notification
を送信できなかった場合