@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.infinispan.spring.embedded.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.embedded.provider.SpringEmbeddedCacheManager |
cacheManager(CacheManagerCustomizers customizers,
org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) |
org.infinispan.manager.EmbeddedCacheManager |
infinispanCacheManager(CacheProperties cacheProperties,
org.springframework.beans.factory.ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder) |
@Bean public org.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager cacheManager(CacheManagerCustomizers customizers, org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager)
@Bean(destroyMethod="stop") @ConditionalOnMissingBean public org.infinispan.manager.EmbeddedCacheManager infinispanCacheManager(CacheProperties cacheProperties, org.springframework.beans.factory.ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder) throws IOException
IOException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.