クラス
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のサブクラス 修飾子と型 クラス 説明 classMBeanRegistrationExceptionMBeanRegistrationインタフェースのpreRegister()メソッドとpreDeregister()メソッドによってスローされる例外をラップします。MBeanExceptionをスローするjavax.managementのメソッド 修飾子と型 メソッド 説明 ObjectInstanceMBeanServer. createMBean(String className, ObjectName name)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServer. createMBean(String className, ObjectName name, Object[] params, String[] signature)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServer. createMBean(String className, ObjectName name, ObjectName loaderName)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServer. createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServerConnection. createMBean(String className, ObjectName name)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServerConnection. createMBean(String className, ObjectName name, Object[] params, String[] signature)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServerConnection. createMBean(String className, ObjectName name, ObjectName loaderName)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectInstanceMBeanServerConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)MBeanをインスタンス化し、MBeanサーバーに登録します。ObjectDynamicMBean. getAttribute(String attribute)Dynamic MBeanの特定の属性の値を取得します。ObjectMBeanServer. getAttribute(ObjectName name, String attribute)ObjectMBeanServerConnection. getAttribute(ObjectName name, String attribute)指定されたMBeanの特定の属性の値を取得します。ObjectStandardMBean. getAttribute(String attribute)ObjectMBeanServer. instantiate(String className)MBeanサーバーのClass Loader Repository内に登録されたすべてのクラス・ローダーのリストを使って、オブジェクトをインスタンス化します。ObjectMBeanServer. instantiate(String className, Object[] params, String[] signature)MBeanサーバーのClass Loader Repository内に登録されたすべてのクラス・ローダーのリストを使って、オブジェクトをインスタンス化します。ObjectMBeanServer. instantiate(String className, ObjectName loaderName)ObjectNameで指定されたクラス・ローダーを使って、オブジェクトをインスタンス化します。ObjectMBeanServer. instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)オブジェクトをインスタンス化します。ObjectDynamicMBean. invoke(String actionName, Object[] params, String[] signature)Dynamic MBean上でのアクションの呼出しを許可します。ObjectMBeanServer. invoke(ObjectName name, String operationName, Object[] params, String[] signature)ObjectMBeanServerConnection. invoke(ObjectName name, String operationName, Object[] params, String[] signature)MBean上でオペレーションを呼び出します。ObjectStandardMBean. invoke(String actionName, Object[] params, String[] signature)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の使用
MBeanExceptionをスローするjavax.management.modelmbeanのメソッド 修飾子と型 メソッド 説明 voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidRequiredModelMBean. addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback)ModelMBeanAttributeInfoModelMBeanInfo. getAttribute(String inName)名前で要求されたModelMBeanAttributeInfoを返します。ModelMBeanAttributeInfoModelMBeanInfoSupport. getAttribute(String inName)ObjectRequiredModelMBean. getAttribute(String attrName)このModelMBeanに定義された特定の属性の値を返します。ModelMBeanConstructorInfoModelMBeanInfoSupport. getConstructor(String inName)名前で要求されたModelMBeanConstructorInfoを返します。DescriptorModelMBeanInfo. getDescriptor(String inDescriptorName, String inDescriptorType)名前とdescriptorTypeで要求されたDescriptorを返します。DescriptorModelMBeanInfoSupport. getDescriptor(String inDescriptorName)名前で要求されたDescriptorを返します。DescriptorModelMBeanInfoSupport. getDescriptor(String inDescriptorName, String inDescriptorType)Descriptor[]ModelMBeanInfo. getDescriptors(String inDescriptorType)inDescriptorType型のModelMBeanInfoのすべてのDescriptorで構成されるDescriptor配列を返します。Descriptor[]ModelMBeanInfoSupport. getDescriptors(String inDescriptorType)DescriptorModelMBeanInfo. getMBeanDescriptor()MBean全体ポリシーを含むModelMBeanの記述子を返します。DescriptorModelMBeanInfoSupport. getMBeanDescriptor()ModelMBeanNotificationInfoModelMBeanInfo. getNotification(String inName)名前で要求されたModelMBeanNotificationInfoを返します。ModelMBeanNotificationInfoModelMBeanInfoSupport. getNotification(String inName)ModelMBeanOperationInfoModelMBeanInfo. getOperation(String inName)名前で要求されたModelMBeanOperationInfoを返します。ModelMBeanOperationInfoModelMBeanInfoSupport. getOperation(String inName)ObjectRequiredModelMBean. invoke(String opName, Object[] opArgs, String[] sig)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を取る記述子のコンストラクタです。RequiredModelMBean()空のModelMBeanInfoでRequiredModelMBeanを構築します。RequiredModelMBean(ModelMBeanInfo mbi)渡されたModelMBeanInfoを使ってRequiredModelMBeanオブジェクトを構築します。 -
javax.management.remote.rmiでのMBeanExceptionの使用
MBeanExceptionをスローするjavax.management.remote.rmiのメソッド 修飾子と型 メソッド 説明 ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, Subject delegationSubject)ObjectInstanceRMIConnectionImpl_Stub. createMBean(String $param_String_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)ObjectInstanceRMIConnectionImpl_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)ObjectInstanceRMIConnectionImpl_Stub. createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4)ObjectInstanceRMIConnectionImpl_Stub. createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)ObjectInstanceRMIConnectionImpl. createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnectionImpl. createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnectionImpl. createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)ObjectInstanceRMIConnectionImpl. createMBean(String className, ObjectName name, Subject delegationSubject)ObjectRMIConnection. getAttribute(ObjectName name, String attribute, Subject delegationSubject)ObjectRMIConnectionImpl_Stub. getAttribute(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)ObjectRMIConnectionImpl. getAttribute(ObjectName name, String attribute, Subject delegationSubject)ObjectRMIConnection. invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectRMIConnectionImpl_Stub. invoke(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)ObjectRMIConnectionImpl. 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)
-