クラス CachingConfigurationSelector
java.lang.ObjectSE
org.springframework.context.annotation.AdviceModeImportSelector<EnableCaching>
org.springframework.cache.annotation.CachingConfigurationSelector
- 実装されているすべてのインターフェース:
- ImportSelector
 インポートする 
@Configuration クラスの EnableCaching.mode() の値に基づいて、使用する AbstractCachingConfiguration の実装を選択します。JSR-107 の存在を検出し、それに応じて JCache サポートを有効にします。
- 導入:
- 3.1
- 作成者:
- Chris Beams, Stephane Nicoll
- 関連事項:
- フィールドのサマリー- クラス org.springframework.context.annotation.AdviceModeImportSelector から継承されたフィールド- DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME
- コンストラクターの概要コンストラクター
- メソッドのサマリー修飾子と型メソッド説明- StringSE[]- selectImports- (AdviceMode adviceMode) - EnableCaching.mode()の- PROXYおよび- ASPECTJ値に対して、それぞれ- ProxyCachingConfigurationまたは- AspectJCachingConfigurationを返します。- クラス org.springframework.context.annotation.AdviceModeImportSelector から継承されたメソッド- getAdviceModeAttributeName, selectImports- クラス java.lang.ObjectSE から継承されたメソッド- clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE- インターフェース org.springframework.context.annotation.ImportSelector から継承されたメソッド- getExclusionFilter
- コンストラクターの詳細- CachingConfigurationSelectorpublic CachingConfigurationSelector()
 
- メソッドの詳細- selectImports- EnableCaching.mode()の- PROXYおよび- ASPECTJ値に対して、それぞれ- ProxyCachingConfigurationまたは- AspectJCachingConfigurationを返します。対応する JCache 構成も含まれる可能性があります。- 次で指定:
-  クラス AdviceModeImportSelector<EnableCaching>のselectImports
- パラメーター:
- adviceMode- ジェネリクスを介して指定されたアノテーションのアドバイスモード属性の値。
- 戻り値:
-  インポートするクラスを含む配列 (存在しない場合は空の配列。指定された AdviceModeが不明な場合はnull)