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