类 CachingConfigurationSelector
java.lang.Object
cn.taketoday.context.annotation.AdviceModeImportSelector<EnableCaching>
cn.taketoday.cache.annotation.CachingConfigurationSelector
- 所有已实现的接口:
ImportSelector
Selects which implementation of
AbstractCachingConfiguration should
be used based on the value of EnableCaching.mode() on the importing
@Configuration class.
Detects the presence of JSR-107 and enables JCache support accordingly.
- 从以下版本开始:
- 4.0
- 作者:
- Chris Beams, Stephane Nicoll
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.context.annotation.AdviceModeImportSelector
DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME从接口继承的字段 cn.taketoday.context.loader.ImportSelector
NO_IMPORTS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明String[]selectImports(AdviceMode adviceMode) ReturnsProxyCachingConfigurationorAspectJCachingConfigurationforPROXYandASPECTJvalues ofEnableCaching.mode(), respectively.从类继承的方法 cn.taketoday.context.annotation.AdviceModeImportSelector
getAdviceModeAttributeName, selectImports从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.context.loader.ImportSelector
getExclusionFilter
-
构造器详细资料
-
CachingConfigurationSelector
public CachingConfigurationSelector()
-
-
方法详细资料
-
selectImports
ReturnsProxyCachingConfigurationorAspectJCachingConfigurationforPROXYandASPECTJvalues ofEnableCaching.mode(), respectively. Potentially includes corresponding JCache configuration as well.- 指定者:
selectImports在类中AdviceModeImportSelector<EnableCaching>- 参数:
adviceMode- the value of the advice mode attribute for the annotation specified via generics.- 返回:
- array containing classes to import (empty array if none;
nullif the givenAdviceModeis unknown)
-