クラス
javax.management.MBeanExceptionの使用
MBeanExceptionを使用するパッケージ
パッケージ
説明
Java Management Extensionsのコア・クラスを提供します。
ModelMBeanクラスの定義を提供します。
RMIコネクタは、RMIを使ってクライアント要求をリモートMBeanサーバーへ転送する、JMXリモートAPI用のコネクタです。
-
javax.managementでのMBeanExceptionの使用
修飾子と型クラス説明classMBeanRegistrationインタフェースのpreRegister()メソッドとpreDeregister()メソッドによってスローされる例外をラップします。MBeanExceptionを投げるjavax.managementのメソッド修飾子と型メソッド説明MBeanServer.createMBean(String className, ObjectName name) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServer.createMBean(String className, ObjectName name, Object[] params, String[] signature) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServerConnection.createMBean(String className, ObjectName name) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServerConnection.createMBean(String className, ObjectName name, Object[] params, String[] signature) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName) MBeanをインスタンス化し、MBeanサーバーに登録します。MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) MBeanをインスタンス化し、MBeanサーバーに登録します。DynamicMBean.getAttribute(String attribute) Dynamic MBeanの特定の属性の値を取得します。MBeanServer.getAttribute(ObjectName name, String attribute) MBeanServerConnection.getAttribute(ObjectName name, String attribute) 指定されたMBeanの特定の属性の値を取得します。StandardMBean.getAttribute(String attribute) MBeanServer.instantiate(String className) MBeanサーバーのClass Loader Repository内に登録されたすべてのクラス・ローダーのリストを使って、オブジェクトをインスタンス化します。MBeanServer.instantiate(String className, Object[] params, String[] signature) MBeanサーバーのClass Loader Repository内に登録されたすべてのクラス・ローダーのリストを使って、オブジェクトをインスタンス化します。MBeanServer.instantiate(String className, ObjectName loaderName) ObjectNameで指定されたクラス・ローダーを使って、オブジェクトをインスタンス化します。MBeanServer.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) オブジェクトをインスタンス化します。Dynamic MBean上でのアクションの呼出しを許可します。MBeanServer.invoke(ObjectName name, String operationName, Object[] params, String[] signature) MBeanServerConnection.invoke(ObjectName name, String operationName, Object[] params, String[] signature) MBean上でオペレーションを呼び出します。voidPersistentMBean.load()thisMBeanインスタンスを永続ストア内のMBean用データでインスタンス化します。voidDynamicMBean.setAttribute(Attribute attribute) Dynamic MBeanの特定の属性の値を設定します。voidMBeanServer.setAttribute(ObjectName name, Attribute attribute) voidMBeanServerConnection.setAttribute(ObjectName name, Attribute attribute) 指定されたMBeanの特定の属性の値を設定します。voidStandardMBean.setAttribute(Attribute attribute) voidPersistentMBean.store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。 -
javax.management.modelmbeanでのMBeanExceptionの使用
修飾子と型メソッド説明voidModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidRequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback) ModelMBeanInfo.getAttribute(String inName) 名前で要求されたModelMBeanAttributeInfoを返します。ModelMBeanInfoSupport.getAttribute(String inName) RequiredModelMBean.getAttribute(String attrName) このModelMBeanに定義された特定の属性の値を返します。ModelMBeanInfoSupport.getConstructor(String inName) 名前で要求されたModelMBeanConstructorInfoを返します。ModelMBeanInfo.getDescriptor(String inDescriptorName, String inDescriptorType) 名前とdescriptorTypeで要求されたDescriptorを返します。ModelMBeanInfoSupport.getDescriptor(String inDescriptorName) 名前で要求されたDescriptorを返します。ModelMBeanInfoSupport.getDescriptor(String inDescriptorName, String inDescriptorType) ModelMBeanInfo.getDescriptors(String inDescriptorType) inDescriptorType型のModelMBeanInfoのすべてのDescriptorで構成されるDescriptor配列を返します。ModelMBeanInfoSupport.getDescriptors(String inDescriptorType) ModelMBeanInfo.getMBeanDescriptor()MBean全体ポリシーを含むModelMBeanの記述子を返します。ModelMBeanInfoSupport.getMBeanDescriptor()ModelMBeanInfo.getNotification(String inName) 名前で要求されたModelMBeanNotificationInfoを返します。ModelMBeanInfoSupport.getNotification(String inName) ModelMBeanInfo.getOperation(String inName) 名前で要求されたModelMBeanOperationInfoを返します。ModelMBeanInfoSupport.getOperation(String inName) RequiredModelMBean上または経由でメソッドを呼び出し、その実行結果を返します。voidRequiredModelMBean.load()このMBeanインスタンスを、永続ストアで見つかるMBean用のデータでインスタンス化します。voidModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName) RequiredModelMBeanからattributeChangeNotificationのリスナーを削除します。voidRequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName) voidModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(AttributeChangeNotification notification) ModelMBean上の登録済みattributeChangeNotificationリスナーに渡されるattributeChangeNotificationを送信します。voidModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) ModelMBean上の登録済みAttributeChangeNotificationリスナーに、属性の古い値と新しい値を含むattributeChangeNotificationを送信します。voidRequiredModelMBean.sendAttributeChangeNotification(AttributeChangeNotification ntfyObj) voidRequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal) voidModelMBeanNotificationBroadcaster.sendNotification(String ntfyText) ModelMBean上の登録済みNotificationリスナーに渡されるテキスト文字列を含むNotificationを送信します。voidModelMBeanNotificationBroadcaster.sendNotification(Notification ntfyObj) ModelMBean上の登録済みNotificationリスナーに、jmx.modelmbean.generic通知として渡されるNotificationを送信します。voidRequiredModelMBean.sendNotification(String ntfyText) voidRequiredModelMBean.sendNotification(Notification ntfyObj) voidRequiredModelMBean.setAttribute(Attribute attribute) 指定されたModelMBeanの特定の属性の値を設定します。voidModelMBeanInfo.setDescriptor(Descriptor inDescriptor, String inDescriptorType) ModelMBeanのinDescriptorType型の情報配列内に記述子を設定します。voidModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor, String inDescriptorType) voidModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors) ModelMBeanInfoに記述子を追加するか、ModelMBeanInfo内の記述子を置き換えます。voidModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors) voidModelMBean.setManagedResource(Object mr, String mr_type) このModelMBean管理インタフェース(MBeanInfoとDescriptor)内のすべてのメソッドの実行先オブジェクトのインスタンス・ハンドルを設定します。voidRequiredModelMBean.setManagedResource(Object mr, String mr_type) このModelMBean管理インタフェース(MBeanInfoとDescriptor)内のすべてのメソッドの実行先オブジェクトのインスタンス・ハンドルを設定します。voidModelMBeanInfo.setMBeanDescriptor(Descriptor inDescriptor) ModelMBeanの記述子を設定します。voidModelMBeanInfoSupport.setMBeanDescriptor(Descriptor inMBeanDescriptor) voidModelMBean.setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo) 渡されたModelMBeanInfoを使ってModelMBeanオブジェクトを初期化します。voidRequiredModelMBean.setModelMBeanInfo(ModelMBeanInfo mbi) 渡されたModelMBeanInfoを使ってModelMBeanオブジェクトを初期化します。voidRequiredModelMBean.store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。MBeanExceptionをスローするjavax.management.modelmbeanのコンストラクタ修飾子コンストラクタ説明DescriptorSupport(int initNumFields) 記述子のコンストラクタです。DescriptorSupport(String inStr) XML Stringを取る記述子のコンストラクタです。空のModelMBeanInfoでRequiredModelMBeanを構築します。渡されたModelMBeanInfoを使ってRequiredModelMBeanオブジェクトを構築します。 -
javax.management.remote.rmiでのMBeanExceptionの使用
修飾子と型メソッド説明RMIConnection.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject) RMIConnection.createMBean(String className, ObjectName name, Subject delegationSubject) RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5) 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) RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4) RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3) RMIConnectionImpl.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject) RMIConnectionImpl.createMBean(String className, ObjectName name, Subject delegationSubject) RMIConnection.getAttribute(ObjectName name, String attribute, Subject delegationSubject) RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3) RMIConnectionImpl.getAttribute(ObjectName name, String attribute, Subject delegationSubject) RMIConnection.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5) RMIConnectionImpl.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject) voidRMIConnection.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject) voidRMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3) voidRMIConnectionImpl.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)