クラス AbstractCachingConfiguration
java.lang.ObjectSE
org.springframework.cache.annotation.AbstractCachingConfiguration
- 実装されているすべてのインターフェース:
Aware,ImportAware
@Configuration(proxyBeanMethods=false)
public abstract class AbstractCachingConfiguration
extends ObjectSE
implements ImportAware
Spring のアノテーション駆動型キャッシュ管理機能を有効にするための共通構造を提供する抽象ベース
@Configuration クラス。- 導入:
- 3.1
- 作成者:
- Chris Beams, Stephane Nicoll, Juergen Hoeller
- 関連事項:
ネストされたクラスの要約
ネストされたクラスフィールドのサマリー
フィールド修飾子と型フィールド説明protected SupplierSE<CacheManager>protected SupplierSE<CacheResolver>protected AnnotationAttributesprotected SupplierSE<CacheErrorHandler>protected SupplierSE<KeyGenerator>コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidsetImportMetadata(AnnotationMetadata importMetadata) インポートする @Configurationクラスのアノテーションメタデータを設定します。protected voiduseCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) 指定されたCachingConfigurerから構成を抽出します。
フィールドの詳細
enableCaching
cacheManager
cacheResolver
keyGenerator
errorHandler
コンストラクターの詳細
AbstractCachingConfiguration
public AbstractCachingConfiguration()
メソッドの詳細
setImportMetadata
インターフェースからコピーされた説明:ImportAwareインポートする @Configurationクラスのアノテーションメタデータを設定します。- 次で指定:
- インターフェース
ImportAwareのsetImportMetadata
useCachingConfigurer
protected void useCachingConfigurer(AbstractCachingConfiguration.CachingConfigurerSupplier cachingConfigurerSupplier) 指定されたCachingConfigurerから構成を抽出します。