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