@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.infinispan.spring.provider.SpringEmbeddedCacheManager.class) @ConditionalOnMissingBean(value=org.springframework.cache.CacheManager.class) @Conditional(value=org.springframework.boot.autoconfigure.cache.CacheCondition.class) public class InfinispanCacheConfiguration extends Object
Constructor and Description |
---|
InfinispanCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.infinispan.spring.provider.SpringEmbeddedCacheManager |
cacheManager(CacheManagerCustomizers customizers,
org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) |
org.infinispan.manager.EmbeddedCacheManager |
infinispanCacheManager(CacheProperties cacheProperties,
ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder) |
@Bean public org.infinispan.spring.provider.SpringEmbeddedCacheManager cacheManager(CacheManagerCustomizers customizers, org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager)
@Bean(destroyMethod="stop") @ConditionalOnMissingBean public org.infinispan.manager.EmbeddedCacheManager infinispanCacheManager(CacheProperties cacheProperties, ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder) throws IOException
IOException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.