クラス SpringModelMBean
java.lang.ObjectSE
javax.management.modelmbean.RequiredModelMBeanSE
org.springframework.jmx.export.SpringModelMBean
- 実装されているすべてのインターフェース:
DynamicMBeanSE、MBeanRegistrationSE、ModelMBeanSE、ModelMBeanNotificationBroadcasterSE、NotificationBroadcasterSE、NotificationEmitterSE、PersistentMBeanSE
呼び出しが発生する前に管理対象リソースの
ClassLoaderSE に対して thread context ClassLoader が確実に切り替えられるようにする RequiredModelMBeanSE クラスの拡張。- 導入:
- 2.0
- 作成者:
- Rob Harrop
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明空のModelMBeanInfoSE を使用して新しい SpringModelMBean インスタンスを作成します。指定されたModelMBeanInfoSE を使用して新しい SpringModelMBean インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明getAttribute(StringSE attrName) 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。getAttributes(StringSE[] attrNames) 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。voidsetAttribute(AttributeSE attribute) 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。setAttributes(AttributeListSE attributes) 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。voidsetManagedResource(ObjectSE managedResource, StringSE managedResourceType) ClassLoaderSE を公開および保存するように管理対象リソースを設定します。クラス javax.management.modelmbean.RequiredModelMBeanSE から継承されたメソッド
addAttributeChangeNotificationListenerSE, addNotificationListenerSE, getClassLoaderRepository, getMBeanInfo, getNotificationInfo, load, postDeregister, postRegisterSE, preDeregister, preRegisterSE, removeAttributeChangeNotificationListenerSE, removeNotificationListenerSE, removeNotificationListenerSE, sendAttributeChangeNotificationSE, sendAttributeChangeNotificationSE, sendNotificationSE, sendNotificationSE, setModelMBeanInfoSE, store
コンストラクターの詳細
SpringModelMBean
空のModelMBeanInfoSE を使用して新しい SpringModelMBean インスタンスを作成します。SpringModelMBean
指定されたModelMBeanInfoSE を使用して新しい SpringModelMBean インスタンスを作成します。
メソッドの詳細
setManagedResource
public void setManagedResource(ObjectSE managedResource, StringSE managedResourceType) throws MBeanExceptionSE, InstanceNotFoundExceptionSE, InvalidTargetObjectTypeExceptionSE ClassLoaderSE を公開および保存するように管理対象リソースを設定します。- 次で指定:
- インターフェース
ModelMBeanSEのsetManagedResourceSE - オーバーライド:
- クラス
RequiredModelMBeanSEのsetManagedResourceSE - 例外:
MBeanExceptionSEInstanceNotFoundExceptionSEInvalidTargetObjectTypeExceptionSE
invoke
public ObjectSE invoke(StringSE opName, ObjectSE[] opArgs, StringSE[] sig) throws MBeanExceptionSE, ReflectionExceptionSE 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。- 次で指定:
- インターフェース
DynamicMBeanSEのinvokeSE - オーバーライド:
- クラス
RequiredModelMBeanSEのinvokeSE - 例外:
MBeanExceptionSEReflectionExceptionSE- 関連事項:
getAttribute
public ObjectSE getAttribute(StringSE attrName) throws AttributeNotFoundExceptionSE, MBeanExceptionSE, ReflectionExceptionSE 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。- 次で指定:
- インターフェース
DynamicMBeanSEのgetAttributeSE - オーバーライド:
- クラス
RequiredModelMBeanSEのgetAttributeSE - 例外:
AttributeNotFoundExceptionSEMBeanExceptionSEReflectionExceptionSE- 関連事項:
getAttributes
呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。- 次で指定:
- インターフェース
DynamicMBeanSEのgetAttributesSE - オーバーライド:
- クラス
RequiredModelMBeanSEのgetAttributesSE - 関連事項:
setAttribute
public void setAttribute(AttributeSE attribute) throws AttributeNotFoundExceptionSE, InvalidAttributeValueExceptionSE, MBeanExceptionSE, ReflectionExceptionSE 呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。setAttributes
呼び出しの発生を許可する前に、管理対象リソースClassLoaderSE のcontext ClassLoaderを切り替えます。- 次で指定:
- インターフェース
DynamicMBeanSEのsetAttributesSE - オーバーライド:
- クラス
RequiredModelMBeanSEのsetAttributesSE - 関連事項: