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.
EnableCaching, ProxyCachingConfiguration
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final boolean | |
| private static final boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String[] | |
| private String[] | |
| public String[] | selectImports(AdviceMode
the value of the advice mode attribute for the annotation specified via generics. adviceMode)Implements abstract org. Returns |
| CACHE_ASPECT_CONFIGURATION_CLASS_NAME | back to summary |
|---|---|
| private static final String CACHE_ASPECT_CONFIGURATION_CLASS_NAME | |
| JCACHE_ASPECT_CONFIGURATION_CLASS_NAME | back to summary |
|---|---|
| private static final String JCACHE_ASPECT_CONFIGURATION_CLASS_NAME | |
| jcacheImplPresent | back to summary |
|---|---|
| private static final boolean jcacheImplPresent | |
| jsr107Present | back to summary |
|---|---|
| private static final boolean jsr107Present | |
| PROXY_JCACHE_CONFIGURATION_CLASS | back to summary |
|---|---|
| private static final String PROXY_JCACHE_CONFIGURATION_CLASS | |
| CachingConfigurationSelector | back to summary |
|---|---|
| public CachingConfigurationSelector() | |
| getAspectJImports | back to summary |
|---|---|
| private String[] getAspectJImports() Return the imports to use if the Take care of adding the necessary JSR-107 import if it is available. | |
| getProxyImports | back to summary |
|---|---|
| private String[] getProxyImports() Return the imports to use if the Take care of adding the necessary JSR-107 import if it is available. | |
| selectImports | back to summary |
|---|---|
| public String[] selectImports(AdviceMode adviceMode) Implements abstract org. Returns
| |