@Configuration @ConditionalOnClass(value=org.springframework.cache.CacheManager.class) @ConditionalOnEnabledEndpoint(endpoint=CachesEndpoint.class) @ConditionalOnExposedEndpoint(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) public CachesEndpointWebExtension cachesEndpointWebExtension(CachesEndpoint cachesEndpoint)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.