• Stephane Nicoll's avatar
    Make sure Hazelcast bootstraps before any JCache setup · 07c56c60
    Stephane Nicoll authored
    This commit makes sure that if a `javax.cache.CacheManager` is required,
    an auto-configured `HazelcastInstance` is fully resolved first. This
    prevents the case where the JCache bootstrap actually starts an instance
    early, followed by a second (potentially unwanted) instance created by the
    regular auto-configuration.
    
    Since the JCache implementation works with an `HazelcastInstance` behind
    the scenes, if there is one `HazelcastInstance` configured and it has a
    name, then we configure the `CacheProvider` to use that. Future Hazelcast
    version will allow to pass the instance directly (i.e. not requiring an
    actual name).
    
    Closes gh-8484
    07c56c60
Name
Last commit
Last update
..
.gitignore Loading commit data...
Guardfile Loading commit data...
appendix-application-properties.adoc Loading commit data...
appendix-auto-configuration-classes.adoc Loading commit data...
appendix-configuration-metadata.adoc Loading commit data...
appendix-dependency-versions.adoc Loading commit data...
appendix-executable-jar-format.adoc Loading commit data...
appendix-test-auto-configuration.adoc Loading commit data...
appendix.adoc Loading commit data...
build-tool-plugins.adoc Loading commit data...
deployment.adoc Loading commit data...
documentation-overview.adoc Loading commit data...
getting-started.adoc Loading commit data...
howto.adoc Loading commit data...
index-docinfo.xml Loading commit data...
index.adoc Loading commit data...
production-ready-features.adoc Loading commit data...
spring-boot-cli.adoc Loading commit data...
spring-boot-features.adoc Loading commit data...
using-spring-boot.adoc Loading commit data...