|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.NotificationFilterSupport
javax.management.relation.MBeanServerNotificationFilter
public class MBeanServerNotificationFilter
MBeanServerNotification のフィルタです。このフィルタは、通知型に対応する対象となる
ObjectName とオペレーション (登録、登録解除、またはその両方) を選択して、MBeanServerNotification
通知をフィルタリングします。
| コンストラクタの概要 | |
|---|---|
MBeanServerNotificationFilter()
すべての ObjectName に対して、すべての MBeanServerNotification 通知を選択するフィルタを作成します。 |
|
| メソッドの概要 | |
|---|---|
void |
disableAllObjectNames()
すべての ObjectName の選択を解除して、MBeanServerNotification を無効にします。 |
void |
disableObjectName(ObjectName theObjName)
指定された ObjectName に対して、MBeanServerNotification を無効にします。 |
void |
enableAllObjectNames()
すべての ObjectName を選択して、すべての MBeanServerNotification を有効にします。 |
void |
enableObjectName(ObjectName theObjName)
指定された ObjectName に対して、MBeanServerNotification を有効にします。 |
Vector |
getDisabledObjectNames()
無効なすべての ObjectName を取得します。 |
Vector |
getEnabledObjectNames()
有効なすべての ObjectName を取得します。 |
boolean |
isNotificationEnabled(Notification theNtf)
リスナーへの特定の通知の送信前に呼び出されます。 |
| クラス javax.management.NotificationFilterSupport から継承されたメソッド |
|---|
disableAllTypes, disableType, enableType, getEnabledTypes |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MBeanServerNotificationFilter()
| メソッドの詳細 |
|---|
public void disableAllObjectNames()
public void disableObjectName(ObjectName theObjName)
throws IllegalArgumentException
theObjName - 対象外になった ObjectName
IllegalArgumentException - 指定された ObjectName が null の場合public void enableAllObjectNames()
public void enableObjectName(ObjectName theObjName)
throws IllegalArgumentException
theObjName - 対
象となる ObjectName
IllegalArgumentException - 指定された ObjectName が null の場合public Vector getEnabledObjectNames()
- null の場合、明示的に選択解除されたものを除くすべての ObjectName が暗黙的に選択される
- 空の場合、すべての ObjectName の選択が解除される。つまり選択されている ObjectName はなくなる
public Vector getDisabledObjectNames()
- null の場合、明示的に選択されたものを除くすべての ObjectName の選択が暗黙的に解除される
- 空の場合、すべての ObjectName が選択される。つまり選択解除されている ObjectName はなくなる
public boolean isNotificationEnabled(Notification theNtf)
throws IllegalArgumentException
次の条件が成立する場合:
- 問題の MBean の ObjectName が選択 (明示的に、もしくは暗黙的に (つまり明示的に選択解除されていない)) されている場合
かつ
- オペレーション (登録または登録解除) の型が選択されている場合
リスナーに通知が送信されます。
NotificationFilter 内の isNotificationEnabledNotificationFilterSupport 内の isNotificationEnabledtheNtf - 送信さ
れる通知
IllegalArgumentException - パラメータが null の場合
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。