JavaTM Platform
Standard Ed. 6

クラス
javax.management.MBeanException の使用

MBeanException を使用しているパッケージ
javax.management Java Management Extensions のコアクラスを提供します。 
javax.management.modelmbean ModelMBean クラスの定義を提供します。 
javax.management.remote.rmi RMI コネクタは、RMI を使ってクライアント要求をリモート MBean サーバーへ転送する、JMX リモート API用のコネクタです。 
 

javax.management での MBeanException の使用
 

javax.management での MBeanException のサブクラス
 class MBeanRegistrationException
          MBeanRegistration インタフェースの preRegister() メソッドと preDeregister() メソッドによってスローされる例外をラップします。
 

MBeanException をスローする javax.management のメソッド
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name)
           
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name)
           MBean をインスタンス化し、MBean サーバーに登録します。
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, Object[] params, String[] signature)
           
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, Object[] params, String[] signature)
          MBean をインスタンス化し、MBean サーバーに登録します。
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName)
           
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName)
           MBean をインスタンス化し、MBean サーバーに登録します。
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
           
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          MBean をインスタンス化し、MBean サーバーに登録します。
 Object MBeanServer.getAttribute(ObjectName name, String attribute)
           
 Object MBeanServerConnection.getAttribute(ObjectName name, String attribute)
          指定された MBean の特定の属性の値を取得します。
 Object DynamicMBean.getAttribute(String attribute)
          Dynamic MBean の特定の属性の値を取得します。
 Object StandardMBean.getAttribute(String attribute)
           
 Object MBeanServer.instantiate(String className)
           MBean サーバーのクラスローダーリポジトリ内に登録されたすべてのクラスローダーのリストを使って、オブジェクトをインスタンス化します。
 Object MBeanServer.instantiate(String className, Object[] params, String[] signature)
           MBean サーバーのクラスローダーリポジトリ内に登録されたすべてのクラスローダーのリストを使って、オブジェクトをインスタンス化します。
 Object MBeanServer.instantiate(String className, ObjectName loaderName)
           ObjectName で指定されたクラスローダーを使って、オブジェクトをインスタンス化します。
 Object MBeanServer.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
           オブジェクトをインスタンス化します。
 Object MBeanServer.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 Object MBeanServerConnection.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
          MBean上でオペレーションを呼び出します。
 Object DynamicMBean.invoke(String actionName, Object[] params, String[] signature)
          Dynamic MBean 上でのアクションの実行を許可します。
 Object StandardMBean.invoke(String actionName, Object[] params, String[] signature)
           
 void PersistentMBean.load()
          thisMBean インスタンスを持続ストア内の MBean 用データでインスタンス化します。
 void DynamicMBean.setAttribute(Attribute attribute)
          Dynamic MBean の特定の属性の値を設定します。
 void StandardMBean.setAttribute(Attribute attribute)
           
 void MBeanServer.setAttribute(ObjectName name, Attribute attribute)
           
 void MBeanServerConnection.setAttribute(ObjectName name, Attribute attribute)
          指定された MBean の特定の属性の値を設定します。
 void PersistentMBean.store()
          この MBean インスタンスの現在の状態を取り込み、持続ストアに書き出します。
 

javax.management.modelmbean での MBeanException の使用
 

MBeanException をスローする javax.management.modelmbean のメソッド
 void ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)
          NotificationListener インタフェースを実装するオブジェクトをリスナーとして登録します。
 void RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback)
           
 ModelMBeanAttributeInfo ModelMBeanInfo.getAttribute(String inName)
          名前で要求された ModelMBeanAttributeInfo を返します。
 ModelMBeanAttributeInfo ModelMBeanInfoSupport.getAttribute(String inName)
           
 Object RequiredModelMBean.getAttribute(String attrName)
          この ModelMBean に定義された特定の属性の値を返します。
 ModelMBeanConstructorInfo ModelMBeanInfoSupport.getConstructor(String inName)
          名前で要求された ModelMBeanConstructorInfo を返します。
 Descriptor ModelMBeanInfoSupport.getDescriptor(String inDescriptorName)
          名前で要求された Descriptor を返します。
 Descriptor ModelMBeanInfo.getDescriptor(String inDescriptorName, String inDescriptorType)
          名前と descriptorType で要求された Descriptor を返します。
 Descriptor ModelMBeanInfoSupport.getDescriptor(String inDescriptorName, String inDescriptorType)
           
 Descriptor[] ModelMBeanInfo.getDescriptors(String inDescriptorType)
          inDescriptorType 型の ModelMBeanInfo のすべての Descriptor で構成される Descriptor 配列を返します。
 Descriptor[] ModelMBeanInfoSupport.getDescriptors(String inDescriptorType)
           
 Descriptor ModelMBeanInfo.getMBeanDescriptor()
          MBean 全体ポリシーを含む ModelMBean の記述子を返します。
 Descriptor ModelMBeanInfoSupport.getMBeanDescriptor()
           
 ModelMBeanNotificationInfo ModelMBeanInfo.getNotification(String inName)
          名前で要求された ModelMBeanNotificationInfo を返します。
 ModelMBeanNotificationInfo ModelMBeanInfoSupport.getNotification(String inName)
           
 ModelMBeanOperationInfo ModelMBeanInfo.getOperation(String inName)
          名前で要求された ModelMBeanOperationInfo を返します。
 ModelMBeanOperationInfo ModelMBeanInfoSupport.getOperation(String inName)
           
 Object RequiredModelMBean.invoke(String opName, Object[] opArgs, String[] sig)
          RequiredModelMBean からメソッドを呼び出し、その実行結果を返します。
 void RequiredModelMBean.load()
           この MBean インスタンスを持続ストア内の MBean 用データでインスタンス化します。
 void ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)
          RequiredModelMBean から attributeChangeNotification のリスナーを削除します。
 void RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName)
           
 void ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)
          ModelMBean 上の登録済み AttributeChangeNotification リスナーに、属性の古い値と新しい値を含む attributeChangeNotification を送信します。
 void RequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal)
           
 void ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(AttributeChangeNotification notification)
          ModelMBean 上の登録済み attributeChangeNotification リスナーに渡される attributeChangeNotification を送信します。
 void RequiredModelMBean.sendAttributeChangeNotification(AttributeChangeNotification ntfyObj)
           
 void ModelMBeanNotificationBroadcaster.sendNotification(Notification ntfyObj)
          ModelMBean 上の登録済み Notification リスナーに、jmx.modelmbean.generic 通知として渡される Notification を送信します。
 void RequiredModelMBean.sendNotification(Notification ntfyObj)
           
 void ModelMBeanNotificationBroadcaster.sendNotification(String ntfyText)
          ModelMBean 上の登録済み Notification リスナーに渡されるテキスト文字列を含む Notification を送信します。
 void RequiredModelMBean.sendNotification(String ntfyText)
           
 void RequiredModelMBean.setAttribute(Attribute attribute)
          指定の ModelMBean の特定の属性の値を設定します。
 void ModelMBeanInfo.setDescriptor(Descriptor inDescriptor, String inDescriptorType)
          ModelMBean の inDescriptorType 型の情報配列内に記述子を設定します。
 void ModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor, String inDescriptorType)
           
 void ModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors)
          ModelMBeanInfo に記述子を追加するか、ModelMBeanInfo 内の記述子を置き換えます。
 void ModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors)
           
 void ModelMBean.setManagedResource(Object mr, String mr_type)
          この ModelMBean 管理インタフェース内のすべてのメソッド (MBeanInfo と Descriptor) の実行対象となる、オブジェクトのインスタンスハンドルを設定します。
 void RequiredModelMBean.setManagedResource(Object mr, String mr_type)
          この ModelMBean 管理インタフェース内のすべてのメソッド (MBeanInfo と Descriptor) の実行対象となる、オブジェクトのインスタンスハンドルを設定します。
 void ModelMBeanInfo.setMBeanDescriptor(Descriptor inDescriptor)
          ModelMBean の記述子を設定します。
 void ModelMBeanInfoSupport.setMBeanDescriptor(Descriptor inMBeanDescriptor)
           
 void ModelMBean.setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)
          ModelMBeanInfo を使って ModelMBean オブジェクトを初期化します。
 void RequiredModelMBean.setModelMBeanInfo(ModelMBeanInfo mbi)
          ModelMBeanInfo を使って ModelMBean オブジェクトを初期化します。
 void RequiredModelMBean.store()
           この MBean インスタンスの現在の状態を取り込み、持続ストアに書き出します。
 

MBeanException をスローする javax.management.modelmbean のコンストラクタ
DescriptorSupport(int initNumFields)
          記述子のコンストラクタです。
DescriptorSupport(String inStr)
           XML String を取る記述子のコンストラクタです。
RequiredModelMBean()
          空の ModelMBeanInfo で RequiredModelMBean を構築します。
RequiredModelMBean(ModelMBeanInfo mbi)
          渡された ModelMBeanInfo を使って RequiredModelMBean オブジェクトを構築します。
 

javax.management.remote.rmi での MBeanException の使用
 

MBeanException をスローする javax.management.remote.rmi のメソッド
 ObjectInstance RMIConnection.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)
          MBeanServerConnection.createMBean(String, ObjectName, Object[], String[]) メソッドを処理します。
 ObjectInstance RMIConnectionImpl.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)
           
 ObjectInstance RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)
           
 ObjectInstance RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)
          MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]) メソッドを処理します。
 ObjectInstance RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)
           
 ObjectInstance RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, MarshalledObject $param_MarshalledObject_4, String[] $param_arrayOf_String_5, Subject $param_Subject_6)
           
 ObjectInstance RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)
          MBeanServerConnection.createMBean(String, ObjectName, ObjectName) メソッドを処理します。
 ObjectInstance RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)
           
 ObjectInstance RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4)
           
 ObjectInstance RMIConnection.createMBean(String className, ObjectName name, Subject delegationSubject)
          MBeanServerConnection.createMBean(String, ObjectName) メソッドを処理します。
 ObjectInstance RMIConnectionImpl.createMBean(String className, ObjectName name, Subject delegationSubject)
           
 ObjectInstance RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)
           
 Object RMIConnection.getAttribute(ObjectName name, String attribute, Subject delegationSubject)
          MBeanServerConnection.getAttribute(ObjectName, String) メソッドを処理します。
 Object RMIConnectionImpl.getAttribute(ObjectName name, String attribute, Subject delegationSubject)
           
 Object RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)
           
 Object RMIConnection.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)
          MBeanServerConnection.invoke(ObjectName, String, Object[], String[]) メソッドを処理します。
 Object RMIConnectionImpl.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)
           
 Object RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)
           
 void RMIConnection.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)
          MBeanServerConnection.setAttribute(ObjectName, Attribute) メソッドを処理します。
 void RMIConnectionImpl.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)
           
 void RMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)
           
 


JavaTM Platform
Standard Ed. 6

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

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