public class AbstractEmbeddedCacheManagerFactory extends Object
An abstract base class for factories creating cache managers that are backed by an EmbeddedCacheManager.
| Constructor and Description |
|---|
AbstractEmbeddedCacheManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomCacheConfiguration(ConfigurationBuilder builder)
Sets the
ConfigurationBuilder to use when creating an EmbeddedCacheManager. |
void |
addCustomGlobalConfiguration(GlobalConfigurationBuilder gcb)
Sets the
GlobalConfigurationBuilder to use when creating an EmbeddedCacheManager. |
protected EmbeddedCacheManager |
createBackingEmbeddedCacheManager() |
void |
setConfigurationFileLocation(org.springframework.core.io.Resource configurationFileLocation)
Sets the
of the
configuration file which will be used to configure the
the
created by this FactoryBean delegates
to. |
protected static final Log logger
protected EmbeddedCacheManager createBackingEmbeddedCacheManager() throws IOException
IOExceptionpublic void setConfigurationFileLocation(org.springframework.core.io.Resource configurationFileLocation)
Sets the of the
configuration file which will be used to configure the
location the
EmbeddedCacheManager created by this SpringEmbeddedCacheManagerFactoryBean delegates
to. If no location is supplied, Infinispan's default configuration will be used.
Note that configuration settings defined via using explicit setters exposed by this
FactoryBean take precedence over those defined in the configuration file pointed
to by configurationFileLocation.
configurationFileLocation - The location of the
configuration file which will be used to configure the
EmbeddedCacheManager the
SpringEmbeddedCacheManager created by this FactoryBean
delegates topublic void addCustomGlobalConfiguration(GlobalConfigurationBuilder gcb)
GlobalConfigurationBuilder to use when creating an EmbeddedCacheManager.gcb - the GlobalConfigurationBuilder instance.public void addCustomCacheConfiguration(ConfigurationBuilder builder)
ConfigurationBuilder to use when creating an EmbeddedCacheManager.builder - the ConfigurationBuilder instance.Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.