@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(CacheProperties cacheProperties,
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizers,
ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilderProvider) |
Modifier and Type | Method and Description |
---|---|
org.infinispan.spring.provider.SpringEmbeddedCacheManager |
cacheManager(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) |
org.infinispan.manager.EmbeddedCacheManager |
infinispanCacheManager() |
public InfinispanCacheConfiguration(CacheProperties cacheProperties, org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers customizers, ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilderProvider)
@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
IOException
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.