@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.cache.CacheManager.class) @ConditionalOnAvailableEndpoint(endpoint=CachesEndpoint.class) @AutoConfigureAfter(value=CacheAutoConfiguration.class) public class CachesEndpointAutoConfiguration extends Object
Constructor and Description |
---|
CachesEndpointAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
CachesEndpoint |
cachesEndpoint(Map<String,CacheManager> cacheManagers) |
CachesEndpointWebExtension |
cachesEndpointWebExtension(CachesEndpoint cachesEndpoint) |
@Bean @ConditionalOnMissingBean public CachesEndpoint cachesEndpoint(Map<String,CacheManager> cacheManagers)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=CachesEndpoint.class) @ConditionalOnAvailableEndpoint(exposure=WEB) public CachesEndpointWebExtension cachesEndpointWebExtension(CachesEndpoint cachesEndpoint)