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