|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.MBeanServerDelegate
public class MBeanServerDelegate
管理の視点で MBean サーバを表現します。MBean サーバに MBean が登録されたり、登録が解除されたりすると、MBeanServerDelegate MBean は MBeanServerNotifications を発行します。
| コンストラクタの概要 | |
|---|---|
MBeanServerDelegate()
MBeanServerDelegate オブジェクトを作成します。 |
|
| メソッドの概要 | |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
この MBean にリスナーを追加します。 |
String |
getImplementationName()
JMX 実装の名前 (この製品の名前) を返します。 |
String |
getImplementationVendor()
JMX 実装のベンダー (この製品のベンダー) を返します。 |
String |
getImplementationVersion()
JMX 実装のバージョン (この製品のバージョン) を返します。 |
String |
getMBeanServerId()
MBean サーバエージェントのアイデンティティを返します。 |
MBeanNotificationInfo[] |
getNotificationInfo()
この MBean が通知を送信するたびに、その通知の Java クラス名と通知型を示す配列を返します。 |
String |
getSpecificationName()
この製品に実装されている JMX 仕様の完全名を返します。 |
String |
getSpecificationVendor()
この製品に実装されている JMX 仕様のベンダーを返します。 |
String |
getSpecificationVersion()
この製品に実装されている JMX 仕様のバージョンを返します。 |
void |
removeNotificationListener(NotificationListener listener)
この MBean からリスナーを削除します。 |
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
この MBean からリスナーを削除します。 |
void |
sendNotification(Notification notification)
MBean サーバから通知を送信できるようにします。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MBeanServerDelegate()
| メソッドの詳細 |
|---|
public String getMBeanServerId()
MBeanServerDelegateMBean 内の getMBeanServerIdpublic String getSpecificationName()
MBeanServerDelegateMBean 内の getSpecificationNamepublic String getSpecificationVersion()
MBeanServerDelegateMBean 内の getSpecificationVersionpublic String getSpecificationVendor()
MBeanServerDelegateMBean 内の getSpecificationVendorpublic String getImplementationName()
MBeanServerDelegateMBean 内の getImplementationNamepublic String getImplementationVersion()
MBeanServerDelegateMBean 内の getImplementationVersionpublic String getImplementationVendor()
MBeanServerDelegateMBean 内の getImplementationVendorpublic MBeanNotificationInfo[] getNotificationInfo()
NotificationBroadcaster の記述: この MBean が通知を送信するたびに、その通知の Java クラス名と通知型を示す配列を返します。
MBean が、この配列に記述されていない通知を送信することはできません。ただし、一部の MBean サーバクライアントは、現在の機能によって完成する配列に依存している場合があります。
NotificationBroadcaster 内の getNotificationInfo
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws IllegalArgumentException
NotificationBroadcaster の記述:
NotificationBroadcaster 内の addNotificationListenerlistener - ブロードキャスタが発行した通知を処理するリスナーオブジェクトfilter - フィルタオブジェクト。フィルタが null の場合、通知処理の前にフィルタは適用されないhandback - 通知の発行時にリスナーに送信される不透明なオブジェクト。Notification ブロードキャスタオブジェクトは、このオブジェクトを使用できない。このオブジェクトは、手を加えない状態で、通知からリスナーへ送り返されなければならない
IllegalArgumentException - リスナーパラメータが null の場合NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws ListenerNotFoundException
NotificationEmitter の記述: この MBean からリスナーを削除します。MBean は、指定された listener、filter、および handback パラメータと正確に一致するリスナーを持っている必要があります。該当するリスナーが複数存在する場合、そのうちの 1 つだけが削除されます。
削除されるリスナー内で null が指定されている場合、filter および handback パラメータは null になります。
NotificationEmitter 内の removeNotificationListenerlistener - 以前にこの MBean に追加されたリスナーfilter - リスナーの追加時に指定されたフィルタhandback - リスナーの追加時に指定されたハンドバック
ListenerNotFoundException - リスナーが MBean に登録されていない場合、または指定されたフィルタおよびハンドバックで登録されていない場合
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
NotificationBroadcaster の記述:
NotificationBroadcaster 内の removeNotificationListenerlistener - 以前にこの MBean に追加されたリスナー
ListenerNotFoundException - リスナーが MBean に登録されていない場合NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object),
NotificationEmitter.removeNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)public void sendNotification(Notification notification)
notification - 送信する通知
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。