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