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