クラス
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の特定の属性の値を取得します。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上でのアクションの呼出しを許可します。ObjectMBeanServerConnection. invoke(ObjectName name, String operationName, Object[] params, String[] signature)MBean上でオペレーションを呼び出します。voidPersistentMBean. load()thisMBeanインスタンスを永続ストア内のMBean用データでインスタンス化します。voidDynamicMBean. setAttribute(Attribute attribute)Dynamic MBeanの特定の属性の値を設定します。voidMBeanServer. setAttribute(ObjectName name, Attribute attribute)voidMBeanServerConnection. setAttribute(ObjectName name, Attribute attribute)指定されたMBeanの特定の属性の値を設定します。voidPersistentMBean. store()このMBeanインスタンスの現在の状態を取り込み、永続ストアに書き出します。 -
javax.management.modelmbeanでのMBeanExceptionの使用
MBeanExceptionをスローするjavax.management.modelmbeanのメソッド 修飾子と型 メソッド 説明 voidModelMBeanNotificationBroadcaster. addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)NotificationListenerインタフェースを実装するオブジェクトをリスナーとして登録します。ModelMBeanAttributeInfoModelMBeanInfo. getAttribute(String inName)名前で要求されたModelMBeanAttributeInfoを返します。ObjectRequiredModelMBean. getAttribute(String attrName)このModelMBeanに定義された特定の属性の値を返します。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を返します。ObjectRequiredModelMBean. invoke(String opName, Object[] opArgs, String[] sig)RequiredModelMBean上または経由でメソッドを呼び出し、その実行結果を返します。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を送信します。voidRequiredModelMBean. setAttribute(Attribute attribute)指定されたModelMBeanの特定の属性の値を設定します。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インスタンスの現在の状態を取り込み、永続ストアに書き出します。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)ObjectRMIConnection. getAttribute(ObjectName name, String attribute, Subject delegationSubject)ObjectRMIConnection. invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)voidRMIConnection. setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)
-