@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 |
---|---|
CacheManager |
cacheManager(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) |
org.infinispan.manager.EmbeddedCacheManager |
infinispanCacheManager() |
@Bean public CacheManager cacheManager(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager)
@Bean(destroyMethod="stop") @ConditionalOnMissingBean public org.infinispan.manager.EmbeddedCacheManager infinispanCacheManager() throws IOException
IOException
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.