Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12811

JCache programmatic configuration through properties


    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 12.1.0.Final
    • 12.0.1.Final
    • JCache
    • None

      Make it possible to manipulate the configuration programmatically by supplying objects through the properties parameter.

      • org.infinispan.configuration.parsing.ConfigurationBuilderHolder an instance of  that will be used instead of attempting to load the configuration file specified by the uri parameter.
      • org.infinispan.configuration.global.GlobalConfigurationBuilder an instance that will be used as thebase GlobalConfigurationBuilder before parsing the file specified by the uri parameter.
      • org.infinispan.configuration.global.GlobalConfigurationBuilder-Consumer an instance of Consumer<GlobalConfigurationBuilder> that will be used to manipulate the global configuration after parsing the file specified by the uri parameter.
      • org.infinispan.configuration.cache.Configuration-Function an instance of Function<String, org.infinispan.configuration.cache.Configuration> that will be used to obtain the configuration for a cache. If the function returns null, it will use the default configuration.

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            0 Vote for this issue
            1 Start watching this issue