Class AbstractEmbeddedCacheManagerFactory

    • Constructor Detail

      • AbstractEmbeddedCacheManagerFactory

        public AbstractEmbeddedCacheManagerFactory()
    • Method Detail

      • setConfigurationFileLocation

        public void setConfigurationFileLocation​(org.springframework.core.io.Resource configurationFileLocation)

        Sets the location of the configuration file which will be used to configure the EmbeddedCacheManager the SpringEmbeddedCacheManager created by this FactoryBean 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.

        Parameters:
        configurationFileLocation - The location of the configuration file which will be used to configure the EmbeddedCacheManager the SpringEmbeddedCacheManager created by this FactoryBean delegates to
      • addCustomCacheConfiguration

        public void addCustomCacheConfiguration​(ConfigurationBuilder builder)
        Sets the ConfigurationBuilder to use when creating an EmbeddedCacheManager.
        Parameters:
        builder - the ConfigurationBuilder instance.