クラス
javax.management.RuntimeOperationsExceptionの使用
| パッケージ | 説明 |
|---|---|
| javax.management |
Java Management Extensionsのコア・クラスを提供します。
|
| javax.management.modelmbean |
ModelMBeanクラスの定義を提供します。
|
-
javax.managementでのRuntimeOperationsExceptionの使用
RuntimeOperationsExceptionをスローするjavax.managementのメソッド 修飾子と型 メソッド 説明 ObjectDescriptor. clone()この記述子と等価な記述子を返します。ObjectDescriptor. getFieldValue(String fieldName)特定のフィールド名の値を返します。その名前の値が存在しない場合はnullを返します。booleanDescriptor. isValid()すべてのフィールドの値がそれぞれの名前に対して有効な場合は、trueを返します。voidPersistentMBean. load()thisMBeanインスタンスを永続ストア内のMBean用データでインスタンス化します。voidDescriptor. setField(String fieldName, Object fieldValue)特定のフィールド名を表す値を設定します。voidImmutableDescriptor. setField(String fieldName, Object fieldValue)このクラスは不変であるため、この操作はサポートされていません。voidDescriptor. setFields(String[] fieldNames, Object[] fieldValues)フィールド名配列内のすべてのフィールドに、フィールド値配列内で同じインデックスを持つ新しい値を設定します。voidImmutableDescriptor. setFields(String[] fieldNames, Object[] fieldValues)このクラスは不変であるため、この操作はサポートされていません。voidPersistentMBean. store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。 -
javax.management.modelmbeanでのRuntimeOperationsExceptionの使用
RuntimeOperationsExceptionをスローするjavax.management.modelmbeanのメソッド 修飾子と型 メソッド 説明 voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。ObjectDescriptorSupport. clone()新しいDescriptor (Descriptorの複製)を返します。ModelMBeanAttributeInfoModelMBeanInfo. getAttribute(String inName)名前で要求されたModelMBeanAttributeInfoを返します。ModelMBeanConstructorInfoModelMBeanInfoSupport. getConstructor(String inName)名前で要求されたModelMBeanConstructorInfoを返します。DescriptorModelMBeanInfo. getDescriptor(String inDescriptorName, String inDescriptorType)名前とdescriptorTypeで要求されたDescriptorを返します。DescriptorModelMBeanInfoSupport. getDescriptor(String inDescriptorName)名前で要求されたDescriptorを返します。Descriptor[]ModelMBeanInfo. getDescriptors(String inDescriptorType)inDescriptorType型のModelMBeanInfoのすべてのDescriptorで構成されるDescriptor配列を返します。DescriptorModelMBeanInfo. getMBeanDescriptor()MBean全体ポリシーを含むModelMBeanの記述子を返します。ModelMBeanNotificationInfoModelMBeanInfo. getNotification(String inName)名前で要求されたModelMBeanNotificationInfoを返します。ModelMBeanOperationInfoModelMBeanInfo. getOperation(String inName)名前で要求されたModelMBeanOperationInfoを返します。booleanDescriptorSupport. isValid()すべてのフィールドの値がそれぞれの名前に対して有効な場合は、trueを返します。voidRequiredModelMBean. load()このMBeanインスタンスを、永続ストアで見つかるMBean用のデータでインスタンス化します。voidModelMBeanNotificationBroadcaster. removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)RequiredModelMBeanからattributeChangeNotificationのリスナーを削除します。voidModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(AttributeChangeNotification notification)ModelMBean上の登録済みattributeChangeNotificationリスナーに渡されるattributeChangeNotificationを送信します。voidModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)ModelMBean上の登録済みAttributeChangeNotificationリスナーに、属性の古い値と新しい値を含むattributeChangeNotificationを送信します。voidModelMBeanNotificationBroadcaster. sendNotification(String ntfyText)ModelMBean上の登録済みNotificationリスナーに渡されるテキスト文字列を含むNotificationを送信します。voidModelMBeanNotificationBroadcaster. sendNotification(Notification ntfyObj)ModelMBean上の登録済みNotificationリスナーに、jmx.modelmbean.generic通知として渡されるNotificationを送信します。voidModelMBeanInfo. setDescriptor(Descriptor inDescriptor, String inDescriptorType)ModelMBeanのinDescriptorType型の情報配列内に記述子を設定します。voidModelMBeanInfo. setDescriptors(Descriptor[] inDescriptors)ModelMBeanInfoに記述子を追加するか、ModelMBeanInfo内の記述子を置き換えます。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の記述子を設定します。voidModelMBean. setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)渡されたModelMBeanInfoを使ってModelMBeanオブジェクトを初期化します。voidRequiredModelMBean. setModelMBeanInfo(ModelMBeanInfo mbi)渡されたModelMBeanInfoを使ってModelMBeanオブジェクトを初期化します。voidRequiredModelMBean. store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。RuntimeOperationsExceptionをスローするjavax.management.modelmbeanのコンストラクタ コンストラクタ 説明 DescriptorSupport(int initNumFields)記述子のコンストラクタです。DescriptorSupport(String inStr)XML Stringを取る記述子のコンストラクタです。DescriptorSupport(String[] fieldNames, Object[] fieldValues)フィールド名とフィールド値を取るコンストラクタです。RequiredModelMBean()空のModelMBeanInfoでRequiredModelMBeanを構築します。RequiredModelMBean(ModelMBeanInfo mbi)渡されたModelMBeanInfoを使ってRequiredModelMBeanオブジェクトを構築します。