インタフェース
javax.management.NotificationListenerの使用
NotificationListenerを使用するパッケージ
パッケージ
説明
Java Management Extensionsのコア・クラスを提供します。
ModelMBeanクラスの定義を提供します。
関係サービスの定義を提供します。
JMX MBeanサーバーにリモート・アクセスするためのインタフェースです。
RMIコネクタは、RMIを使ってクライアント要求をリモートMBeanサーバーへ転送する、JMXリモートAPI用のコネクタです。
-
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にリスナーを追加します。voidMBeanServerDelegate.addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) voidNotificationBroadcaster.addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) このMBeanにリスナーを追加します。voidNotificationBroadcasterSupport.addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) リスナーを追加します。voidStandardEmitterMBean.addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) protected voidNotificationBroadcasterSupport.handleNotification(NotificationListener listener, Notification notif, Object handback) このメソッドは、リスナーに通知を送信するため、sendNotificationによって呼び出されます。voidMBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener) voidMBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) voidMBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener) 登録済みMBeanからリスナーを削除します。voidMBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) 登録済みMBeanからリスナーを削除します。voidMBeanServerDelegate.removeNotificationListener(NotificationListener listener) voidMBeanServerDelegate.removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) voidNotificationBroadcaster.removeNotificationListener(NotificationListener listener) このMBeanからリスナーを削除します。voidNotificationBroadcasterSupport.removeNotificationListener(NotificationListener listener) voidNotificationBroadcasterSupport.removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) voidNotificationEmitter.removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) このMBeanからリスナーを削除します。voidStandardEmitterMBean.removeNotificationListener(NotificationListener listener) voidStandardEmitterMBean.removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) -
javax.management.modelmbeanでのNotificationListenerの使用
型NotificationListenerのパラメータを持つjavax.management.modelmbeanのメソッド修飾子と型メソッド説明voidModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidRequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback) voidRequiredModelMBean.addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName) RequiredModelMBeanからattributeChangeNotificationのリスナーを削除します。voidRequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName) voidRequiredModelMBean.removeNotificationListener(NotificationListener listener) RequiredModelMBeanからNotificationのリスナーを削除します。voidRequiredModelMBean.removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) -
javax.management.relationでのNotificationListenerの使用
-
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) 状態の変更を通知されるリスナーをリストから削除します。 -
javax.management.remote.rmiでのNotificationListenerの使用
型NotificationListenerのパラメータを持つjavax.management.remote.rmiのメソッド修飾子と型メソッド説明voidRMIConnector.addConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) voidRMIConnector.removeConnectionNotificationListener(NotificationListener listener) voidRMIConnector.removeConnectionNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)