クラス 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 AnnotationAttributes
protected SupplierSE<CacheErrorHandler>
protected SupplierSE<KeyGenerator>
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明void
setImportMetadata
(AnnotationMetadata importMetadata) インポートする @Configuration
クラスのアノテーションメタデータを設定します。protected void
useCachingConfigurer
(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
から構成を抽出します。