Class InfinispanCacheConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.cache.InfinispanCacheConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager.class)
@ConditionalOnMissingBean(org.springframework.cache.CacheManager.class)
@Conditional(org.springframework.boot.autoconfigure.cache.CacheCondition.class)
public class InfinispanCacheConfiguration
extends Object
Infinispan cache configuration.
- Since:
- 1.3.0
- Author:
- EddĂș MelĂ©ndez, Stephane Nicoll, Raja Kolli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager
cacheManager
(CacheManagerCustomizers customizers, org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) org.infinispan.manager.EmbeddedCacheManager
infinispanCacheManager
(CacheProperties cacheProperties, ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder)
-
Constructor Details
-
InfinispanCacheConfiguration
public InfinispanCacheConfiguration()
-
-
Method Details
-
cacheManager
@Bean public org.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager cacheManager(CacheManagerCustomizers customizers, org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) -
infinispanCacheManager
@Bean(destroyMethod="stop") @ConditionalOnMissingBean public org.infinispan.manager.EmbeddedCacheManager infinispanCacheManager(CacheProperties cacheProperties, ObjectProvider<org.infinispan.configuration.cache.ConfigurationBuilder> defaultConfigurationBuilder) throws IOException - Throws:
IOException
-