クラス MethodExclusionMBeanInfoAssembler
java.lang.ObjectSE
org.springframework.jmx.export.assembler.AbstractMBeanInfoAssembler
org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler
org.springframework.jmx.export.assembler.AbstractConfigurableMBeanInfoAssembler
org.springframework.jmx.export.assembler.MethodExclusionMBeanInfoAssembler
- 実装されているすべてのインターフェース:
MBeanInfoAssembler
メソッド名を MBean 操作および属性として明示的に除外できる
AbstractReflectiveMBeanInfoAssembler サブクラス。管理インターフェースから明示的に除外されていないメソッドは、JMX に公開されます。JavaBean getter および setter は、JMX 属性として自動的に公開されます。
ignoredMethods プロパティを介してメソッド名の配列を指定できます。複数の Bean があり、各 Bean で異なるメソッド名のセットを使用する場合は、ignoredMethodMappings プロパティを使用して、Bean キー(Bean を MBeanExporter に渡すために使用される名前)をメソッド名のリストにマップできます。
ignoredMethodMappings と ignoredMethods の両方の値を指定した場合、Spring は最初にマッピングでメソッド名を見つけようとします。Bean のメソッド名が見つからない場合、ignoredMethods で定義されたメソッド名が使用されます。
フィールドのサマリー
クラス org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler から継承されたフィールド
ATTRIBUTE_OPERATION_VISIBILITY, FIELD_CLASS, FIELD_CURRENCY_TIME_LIMIT, FIELD_DEFAULT, FIELD_DISPLAY_NAME, FIELD_GET_METHOD, FIELD_LOG, FIELD_LOG_FILE, FIELD_METRIC_CATEGORY, FIELD_METRIC_TYPE, FIELD_PERSIST_LOCATION, FIELD_PERSIST_NAME, FIELD_PERSIST_PERIOD, FIELD_PERSIST_POLICY, FIELD_ROLE, FIELD_SET_METHOD, FIELD_UNITS, FIELD_VISIBILITY, ROLE_GETTER, ROLE_OPERATION, ROLE_SETTERコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected booleanincludeOperation(MethodSE method, StringSE beanKey) サブクラスが特定の操作の包含について投票できるようにします。protected booleanincludeReadAttribute(MethodSE method, StringSE beanKey) サブクラスが特定の属性アクセサーの包含について投票できるようにします。protected booleanincludeWriteAttribute(MethodSE method, StringSE beanKey) サブクラスが特定の属性ミューテーターの包含について投票できるようにします。protected booleanisNotIgnored(MethodSE method, StringSE beanKey) 指定されたメソッドが含まれることになっている、つまり無視されるように構成されていないかどうかを判別します。voidsetIgnoredMethodMappings(PropertiesSE mappings) Bean キーのマッピングをメソッド名のコンマ区切りリストに設定します。voidsetIgnoredMethods(StringSE... ignoredMethodNames) 管理情報の作成時に無視されるメソッド名の配列を設定します。クラス org.springframework.jmx.export.assembler.AbstractConfigurableMBeanInfoAssembler から継承されたメソッド
getNotificationInfo, setNotificationInfoMappings, setNotificationInfosクラス org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler から継承されたメソッド
applyCurrencyTimeLimit, applyDefaultCurrencyTimeLimit, createModelMBeanOperationInfo, getAttributeDescription, getAttributeInfo, getClassForDescriptor, getDefaultCurrencyTimeLimit, getOperationDescription, getOperationInfo, getOperationParameters, getParameterNameDiscoverer, isExposeClassDescriptor, isUseStrictCasing, populateAttributeDescriptor, populateMBeanDescriptor, populateOperationDescriptor, setDefaultCurrencyTimeLimit, setExposeClassDescriptor, setParameterNameDiscoverer, setUseStrictCasingクラス org.springframework.jmx.export.assembler.AbstractMBeanInfoAssembler から継承されたメソッド
checkManagedBean, getClassName, getClassToExpose, getClassToExpose, getConstructorInfo, getDescription, getMBeanInfo, getTargetClass
コンストラクターの詳細
MethodExclusionMBeanInfoAssembler
public MethodExclusionMBeanInfoAssembler()
メソッドの詳細
setIgnoredMethods
管理情報の作成時に無視されるメソッド名の配列を設定します。これらのメソッド名は、
ignoredMethodsMappingsプロパティでその Bean に対応するエントリが見つからない場合、Bean に使用されます。setIgnoredMethodMappings
Bean キーのマッピングをメソッド名のコンマ区切りリストに設定します。これらのメソッド名は、管理インターフェースの作成時には無視されます。
プロパティキーは Bean キーと一致する必要があり、プロパティ値はメソッド名のリストと一致する必要があります。Bean で無視するメソッド名を検索する場合、Spring はこれらのマッピングを最初にチェックします。
includeReadAttribute
クラスからコピーされた説明:AbstractReflectiveMBeanInfoAssemblerサブクラスが特定の属性アクセサーの包含について投票できるようにします。- 次で指定:
- クラス
AbstractReflectiveMBeanInfoAssemblerのincludeReadAttribute - パラメーター:
method- アクセサーMethodbeanKey-MBeanExporterの Bean マップで MBean に関連付けられているキー- 戻り値:
- アクセサーを管理インターフェースに含める場合は
true、それ以外の場合はfalse
includeWriteAttribute
クラスからコピーされた説明:AbstractReflectiveMBeanInfoAssemblerサブクラスが特定の属性ミューテーターの包含について投票できるようにします。- 次で指定:
- クラス
AbstractReflectiveMBeanInfoAssemblerのincludeWriteAttribute - パラメーター:
method- ミューテータMethod。beanKey-MBeanExporterの Bean マップで MBean に関連付けられているキー- 戻り値:
- ミューテーターを管理インターフェースに含める場合は
true、それ以外の場合はfalse
includeOperation
クラスからコピーされた説明:AbstractReflectiveMBeanInfoAssemblerサブクラスが特定の操作の包含について投票できるようにします。- 次で指定:
- クラス
AbstractReflectiveMBeanInfoAssemblerのincludeOperation - パラメーター:
method- 操作方法beanKey-MBeanExporterの Bean マップで MBean に関連付けられているキー- 戻り値:
- 操作を管理インターフェースに含めるかどうか
isNotIgnored
指定されたメソッドが含まれることになっている、つまり無視されるように構成されていないかどうかを判別します。- パラメーター:
method- 操作方法beanKey-MBeanExporterの Bean マップで MBean に関連付けられているキー