クラス NotificationListenerHolder
java.lang.ObjectSE
org.springframework.jmx.support.NotificationListenerHolder
NotificationListener
SE、NotificationFilter
SE、任意のハンドバックオブジェクト、リスナーが Notifications
SE の受信を希望する MBean の名前を集約するヘルパークラス。- 導入:
- 2.5.2
- 作成者:
- Juergen Hoeller
- 関連事項:
フィールドサマリー
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明boolean
NotificationListener
SE に通知するときにNotificationBroadcaster
SE によってそのまま「引き渡される」(任意の)オブジェクトを返します。カプセル化されたNotificationListener
に関連付けられたNotificationFilter
SE を返します。NotificationListener
SE を取得します。int
hashCode()
void
setHandback
(ObjectSE handback) NotificationListener
SE に通知するときにNotificationBroadcaster
SE によってそのまま「引き渡される」(任意の)オブジェクトを設定します。void
setMappedObjectName
(ObjectSE mappedObjectName) カプセル化されたNotificationFilter
がNotifications
SE をリスンするために登録される単一の MBean のObjectName
SE -style 名を設定します。void
setMappedObjectNames
(ObjectSE... mappedObjectNames) カプセル化されたNotificationFilter
がNotifications
SE をリッスンするために登録される MBean のObjectName
SE -style 名の配列を設定します。void
setNotificationFilter
(NotificationFilterSE notificationFilter) カプセル化されたNotificationFilter
に関連付けられたNotificationFilter
SE を設定します。void
setNotificationListener
(NotificationListenerSE notificationListener) NotificationListener
SE を設定してください。
フィールドの詳細
mappedObjectNames
コンストラクターの詳細
NotificationListenerHolder
public NotificationListenerHolder()
メソッドの詳細
setNotificationListener
NotificationListener
SE を設定してください。getNotificationListener
NotificationListener
SE を取得します。setNotificationFilter
getNotificationFilter
setHandback
NotificationListener
SE に通知するときにNotificationBroadcaster
SE によってそのまま「引き渡される」(任意の)オブジェクトを設定します。- パラメーター:
handback
- ハンドバックオブジェクト (null
にすることができます)- 関連事項:
getHandback
NotificationListener
SE に通知するときにNotificationBroadcaster
SE によってそのまま「引き渡される」(任意の)オブジェクトを返します。- 戻り値:
- ハンドバックオブジェクト (
null
の場合があります) - 関連事項:
setMappedObjectName
カプセル化されたNotificationFilter
がNotifications
SE をリスンするために登録される単一の MBean のObjectName
SE -style 名を設定します。ObjectName
インスタンスまたはString
として指定できます。setMappedObjectNames
カプセル化されたNotificationFilter
がNotifications
SE をリッスンするために登録される MBean のObjectName
SE -style 名の配列を設定します。ObjectName
インスタンスまたはString
として指定できます。getResolvedObjectNames
- 例外:
MalformedObjectNameExceptionSE
-ObjectName
が不正な形式の場合
equals
hashCode
public int hashCode()