インタフェース
javax.management.NotificationListenerの使用
| パッケージ | 説明 |
|---|---|
| javax.management |
Java Management Extensionsのコア・クラスを提供します。
|
| javax.management.modelmbean |
ModelMBeanクラスの定義を提供します。
|
| javax.management.relation |
関係サービスの定義を提供します。
|
| javax.management.remote |
JMX MBeanサーバーにリモート・アクセスするためのインタフェースです。
|
-
javax.managementでのNotificationListenerの使用
型NotificationListenerのパラメータを持つjavax.managementのメソッド 修飾子と型 メソッド 説明 voidMBeanServer. addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)登録済みMBeanにリスナーを追加します。voidMBeanServerConnection. addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)登録済みMBeanにリスナーを追加します。voidNotificationBroadcaster. addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)このMBeanにリスナーを追加します。voidNotificationBroadcasterSupport. addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)リスナーを追加します。protected voidNotificationBroadcasterSupport. handleNotification(NotificationListener listener, Notification notif, Object handback)このメソッドは、リスナーに通知を送信するため、sendNotificationによって呼び出されます。voidMBeanServerConnection. removeNotificationListener(ObjectName name, NotificationListener listener)登録済みMBeanからリスナーを削除します。voidMBeanServerConnection. removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)登録済みMBeanからリスナーを削除します。voidNotificationBroadcaster. removeNotificationListener(NotificationListener listener)このMBeanからリスナーを削除します。voidNotificationEmitter. removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)このMBeanからリスナーを削除します。 -
javax.management.modelmbeanでのNotificationListenerの使用
型NotificationListenerのパラメータを持つjavax.management.modelmbeanのメソッド 修飾子と型 メソッド 説明 voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidRequiredModelMBean. addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidModelMBeanNotificationBroadcaster. removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)RequiredModelMBeanからattributeChangeNotificationのリスナーを削除します。voidRequiredModelMBean. removeNotificationListener(NotificationListener listener)RequiredModelMBeanからNotificationのリスナーを削除します。 -
javax.management.relationでのNotificationListenerの使用
NotificationListenerを実装しているjavax.management.relationのクラス 修飾子と型 クラス 説明 classRelationService関係サービスは、関係タイプと関係を作成および削除し、整合性を処理し、およびクエリー・メカニズムを提供します。 -
javax.management.remoteでのNotificationListenerの使用
型NotificationListenerのパラメータを持つjavax.management.remoteのメソッド 修飾子と型 メソッド 説明 voidJMXConnector. addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)接続状態の変化を通知されるリスナーを追加します。voidJMXConnector. removeConnectionNotificationListener(NotificationListener listener)状態の変更を通知されるリスナーをリストから削除します。voidJMXConnector. removeConnectionNotificationListener(NotificationListener l, NotificationFilter f, Object handback)状態の変更を通知されるリスナーをリストから削除します。