クラス
 javax.management.RuntimeOperationsExceptionの使用
RuntimeOperationsExceptionを使用するパッケージ
パッケージ
説明
Java Management Extensionsのコア・クラスを提供します。
ModelMBeanクラスの定義を提供します。
- 
javax.managementでのRuntimeOperationsExceptionの使用
RuntimeOperationsExceptionをスローするjavax.managementのメソッド修飾子と型メソッド説明Descriptor.clone()この記述子と等価な記述子を返します。Descriptor.getFieldValue(String fieldName)特定のフィールド名の値を返します。その名前の値が存在しない場合はnullを返します。booleanDescriptor.isValid()すべてのフィールドの値がそれぞれの名前に対して有効な場合は、trueを返します。voidPersistentMBean.load()thisMBeanインスタンスを永続ストア内のMBean用データでインスタンス化します。void特定のフィールド名を表す値を設定します。voidこのクラスは不変であるため、この操作はサポートされていません。voidフィールド名配列内のすべてのフィールドに、フィールド値配列内で同じインデックスを持つ新しい値を設定します。voidこのクラスは不変であるため、この操作はサポートされていません。voidPersistentMBean.store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。 - 
javax.management.modelmbeanでのRuntimeOperationsExceptionの使用
修飾子と型メソッド説明voidModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。voidRequiredModelMBean.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)booleanDescriptorSupport.isValid()すべてのフィールドの値がそれぞれの名前に対して有効な場合は、trueを返します。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)voidModelMBeanInfo.setDescriptor(Descriptor inDescriptor, String inDescriptorType)ModelMBeanのinDescriptorType型の情報配列内に記述子を設定します。voidModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor, String inDescriptorType)voidModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors)ModelMBeanInfoに記述子を追加するか、ModelMBeanInfo内の記述子を置き換えます。voidModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors)voidvoidvoidModelMBean.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インスタンスの現在の状態を取り込み、永続ストアに書き出します。RuntimeOperationsExceptionをスローするjavax.management.modelmbeanのコンストラクタ修飾子コンストラクタ説明DescriptorSupport(int initNumFields)記述子のコンストラクタです。DescriptorSupport(String inStr)XML Stringを取る記述子のコンストラクタです。DescriptorSupport(String[] fieldNames, Object[] fieldValues)フィールド名とフィールド値を取るコンストラクタです。空のModelMBeanInfoでRequiredModelMBeanを構築します。渡されたModelMBeanInfoを使ってRequiredModelMBeanオブジェクトを構築します。