JavaTM Platform
Standard Ed. 6

javax.management.remote
インタフェース MBeanServerForwarder

すべてのスーパーインタフェース:
MBeanServer, MBeanServerConnection

public interface MBeanServerForwarder
extends MBeanServer

このクラスのオブジェクトは、MBeanServer インタフェースを実装し、このインタフェースを実装するオブジェクトを 1 つラップします。通常、このインタフェースの実装は、ラップされたオブジェクトに MBeanServer インタフェースのメソッドを送信する前後に、その一部または全部に対してセキュリティーチェック、ロギングなどのアクションを実行します。

導入されたバージョン:
1.5

メソッドの概要
 MBeanServer getMBeanServer()
          要求の送信先 MBeanServer オブジェクトを返します。
 void setMBeanServer(MBeanServer mbs)
          要求がこのオブジェクトで処理されたあと送信される、送信先 MBeanServer オブジェクトを設定します。
 
インタフェース javax.management.MBeanServer から継承されたメソッド
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getDefaultDomain, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, instantiate, instantiate, instantiate, instantiate, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
 

メソッドの詳細

getMBeanServer

MBeanServer getMBeanServer()
要求の送信先 MBeanServer オブジェクトを返します。

戻り値:
要求の送信先 MBeanServer オブジェクト。 存在しない場合は null
関連項目:
setMBeanServer(javax.management.MBeanServer)

setMBeanServer

void setMBeanServer(MBeanServer mbs)
要求がこのオブジェクトで処理されたあと送信される、送信先 MBeanServer オブジェクトを設定します。

パラメータ:
mbs - 要求の送信先 MBeanServer オブジェクト
例外:
IllegalArgumentException - このオブジェクトが すでに MBeanServer オブジェクトへの送信処理を受けている場合、mbs が null の場合、または mbs がこのオブジェクトに一致している場合
関連項目:
getMBeanServer()

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。