@Configuration @ConditionalOnClass(value=<error>) @ConditionalOnMissingBean(value=org.springframework.cache.CacheManager.class) public class InfinispanCacheConfiguration extends Object
Constructor and Description |
---|
InfinispanCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
CacheManager |
cacheManager(EmbeddedCacheManager embeddedCacheManager) |
EmbeddedCacheManager |
infinispanCacheManager() |
@Bean public CacheManager cacheManager(EmbeddedCacheManager embeddedCacheManager)
@Bean(destroyMethod="stop") @ConditionalOnMissingBean public EmbeddedCacheManager infinispanCacheManager() throws IOException
IOException
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.