|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.AttributeChangeNotificationFilter
public class AttributeChangeNotificationFilter
このクラスは、属性変更通知の NotificationFilter インタフェースを実装します。監視対象の属性の名前には、フィルタリングが適用されます。
有効な属性名のリストを管理します。ユーザは、メソッドを利用して、必要な数の属性を有効または無効にできます。
| コンストラクタの概要 | |
|---|---|
AttributeChangeNotificationFilter()
|
|
| メソッドの概要 | |
|---|---|
void |
disableAllAttributes()
すべての属性名を無効にします。 |
void |
disableAttribute(String name)
リスナーに送信される名前と一致した属性名を持つすべての属性変更通知を無効にします。 |
void |
enableAttribute(String name)
リスナーに送信される名前と一致した属性名を持つすべての属性変更通知を有効にします。 |
Vector |
getEnabledAttributes()
このフィルタ用に、すべての有効な属性名を取得します。 |
boolean |
isNotificationEnabled(Notification notification)
指定された通知をリスナーに送信する前に呼び出されます。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AttributeChangeNotificationFilter()
| メソッドの詳細 |
|---|
public boolean isNotificationEnabled(Notification notification)
true を返します。
NotificationFilter 内の isNotificationEnablednotification - 送信される属性変更通知
true、そうでない場合は false
public void enableAttribute(String name)
throws IllegalArgumentException
name - 属性名
IllegalArgumentException - 属性名パラメータは nullpublic void disableAttribute(String name)
name - 属性名public void disableAllAttributes()
public Vector getEnabledAttributes()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。