修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getAttribute(ObjectNameSE name, StringSE attribute) 名前付き管理対象オブジェクトの特定の属性の値を取得します。 |
AttributeListSE | getAttributes(ObjectNameSE name, StringSE[] attributes) 名前付き管理オブジェクトのいくつかの属性の値を有効にします。 |
StringSE | getDefaultDomain() この MEJB のデフォルトのドメイン名を返します。 |
ListenerRegistration | getListenerRegistry() この MEJB のリスナーレジストリ実装を返します。 |
IntegerSE | getMBeanCount() MEJB に登録されている管理対象オブジェクトの数を返します。 |
MBeanInfoSE | getMBeanInfo(ObjectNameSE name) このメソッドは、管理対象オブジェクトが管理のために公開する属性と操作を検出します。 |
ObjectSE | invoke(ObjectNameSE name, StringSE operationName, ObjectSE[] params, StringSE[] signature) 管理対象オブジェクトの操作を呼び出します。 |
boolean | isRegistered(ObjectNameSE name) オブジェクト名で識別される管理対象オブジェクトがすでに MEJB に登録されているかどうかを確認します。 |
SetSE | queryNames(ObjectNameSE name, QueryExpSE query) MEJB によって制御される管理対象オブジェクトの名前を取得します。 |
void | setAttribute(ObjectNameSE name, AttributeSE attribute) 名前付き管理対象オブジェクトの特定の属性の値を設定します。 |
AttributeListSE | setAttributes(ObjectNameSE name, AttributeListSE attributes) 名前付き管理オブジェクトのいくつかの属性の値を設定します。 |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
SetSE queryNames(ObjectNameSE name, QueryExpSE query) throws RemoteExceptionSE
ObjectName
でのパターンマッチングによって指定された一連の管理対象オブジェクトの名前、特定の管理対象オブジェクト名(管理対象オブジェクトが登録されているかどうかのテストと同等)。オブジェクト名が null の場合、またはドメインとキープロパティが指定されていない場合は、すべてのオブジェクトが選択されます。選択した管理対象オブジェクトの Jakarta EE ObjectNames のセットを返します。name
- 取得する管理対象オブジェクトを識別するオブジェクト名パターン。null またはドメインとキーのプロパティが指定されていない場合、登録されているすべての管理オブジェクトが取得されます。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました boolean isRegistered(ObjectNameSE name) throws RemoteExceptionSE
name
- チェックする管理対象オブジェクトのオブジェクト名。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました IntegerSE getMBeanCount() throws RemoteExceptionSE
RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました MBeanInfoSE getMBeanInfo(ObjectNameSE name) throws IntrospectionExceptionSE, InstanceNotFoundExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- 分析する管理対象オブジェクトの名前 MBeanInfo
のインスタンス。IntrospectionExceptionSE
- イントロスペクション中に例外が発生します。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトが見つかりません。ReflectionExceptionSE
- 管理対象オブジェクトでリフレクションを実行しようとしたときに例外が発生しました RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました ObjectSE getAttribute(ObjectNameSE name, StringSE attribute) throws MBeanExceptionSE, AttributeNotFoundExceptionSE, InstanceNotFoundExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- 属性の取得元となる管理対象オブジェクトのオブジェクト名。attribute
- 取得する属性の名前を指定する文字列。AttributeNotFoundExceptionSE
- 指定された属性は、管理対象オブジェクトではアクセスできません。MBeanExceptionSE
- 管理対象オブジェクトの getter によってスローされた例外をラップします。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトは MEJB に登録されていません。ReflectionExceptionSE
- 動的 MBean の getAttribute メソッドを呼び出そうとしたときに例外が発生しました RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました AttributeListSE getAttributes(ObjectNameSE name, StringSE[] attributes) throws InstanceNotFoundExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- 属性の取得元の管理対象オブジェクトのオブジェクト名。attributes
- 取得する属性のリスト。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトは MEJB に登録されていません。ReflectionExceptionSE
- 動的 MBean の getAttributes メソッドを呼び出そうとしたときに例外が発生しました。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました void setAttribute(ObjectNameSE name, AttributeSE attribute) throws InstanceNotFoundExceptionSE, AttributeNotFoundExceptionSE, InvalidAttributeValueExceptionSE, MBeanExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- 属性が設定される管理対象オブジェクトの名前。attribute
- 設定する属性の ID と設定する値。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトは MEJB に登録されていません。AttributeNotFoundExceptionSE
- 指定された属性は、管理対象オブジェクトではアクセスできません。InvalidAttributeValueExceptionSE
- 属性に指定された値が無効です。MBeanExceptionSE
- 管理対象オブジェクトの setter によってスローされた例外をラップします。ReflectionExceptionSE
- 動的 MBean の setAttribute メソッドを呼び出そうとしたときに例外が発生しました。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました AttributeListSE setAttributes(ObjectNameSE name, AttributeListSE attributes) throws InstanceNotFoundExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- 属性が設定される管理対象オブジェクトのオブジェクト名。attributes
- 属性のリスト: 設定する属性の ID とそれらに設定する値。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトは MEJB に登録されていません。ReflectionExceptionSE
- 動的 MBean の setAttributes メソッドを呼び出そうとしたときに例外が発生しました。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました ObjectSE invoke(ObjectNameSE name, StringSE operationName, ObjectSE[] params, StringSE[] signature) throws InstanceNotFoundExceptionSE, MBeanExceptionSE, ReflectionExceptionSE, RemoteExceptionSE
name
- メソッドが呼び出される管理対象オブジェクトのオブジェクト名。operationName
- 呼び出される操作の名前。params
- 操作が呼び出されたときに設定されるパラメーターを含む配列 signature
- 操作のシグネチャーを含む配列。クラスオブジェクトは、操作が呼び出された管理対象オブジェクトのロードに使用されたものと同じクラスローダーを使用してロードされます。InstanceNotFoundExceptionSE
- 指定された管理対象オブジェクトは MEJB に登録されていません。MBeanExceptionSE
- 管理対象オブジェクトの呼び出されたメソッドによってスローされた例外をラップします。ReflectionExceptionSE
- メソッドを呼び出そうとしたときにスローされた java.lang.Exception
をラップします。RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました StringSE getDefaultDomain() throws RemoteExceptionSE
RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました ListenerRegistration getListenerRegistry() throws RemoteExceptionSE
javax.management.j2ee.ListenerRegistration
の実装 RemoteExceptionSE
- リモートメソッド呼び出しの実行中に通信例外が発生しました Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.