1. 30 Mar, 2015 4 commits
  2. 28 Mar, 2015 3 commits
  3. 27 Mar, 2015 6 commits
    • Eddú Meléndez's avatar
      Add support for EhCache · 48959f25
      Eddú Meléndez authored
      Include auto-configuration support for EhCache with auto-detection of
      the default `ehcache.xml` at the root of the classpath. EhCache
      configuration can also be set via `spring.cache.config`.
      
      See gh-2633
      48959f25
    • Stephane Nicoll's avatar
      Add cache manager auto-configuration · 151220f4
      Stephane Nicoll authored
      Add support for cache manager auto-configuration that is triggered when
      the `EnableCaching` annotation is added to a Spring Boot application.
      
      A new "spring.cache" set of configuration keys is also provided. The
      "spring.cache.mode" allows the user to specify the cache provider that
      should be auto-configured. If no explicit configuration is provided,
      the environment is checked for the best suited cache implementation,
      that is:
      
      - Generic if at least one `Cache` bean is defined in the context.
      - Hazelcast if either a default configuration file is present or the
        `spring.cache.config` property is set.
      - JCache if one JSR-107 provider is present
      - Redis if a `RedisTemplate` is defined in the context
      - Guava
      - Simple as a fallback option, using concurrent maps
      - NoOp (that is, no cache) if the mode is set to "none"
      
      If the provider supports it, it is possible to specify the caches
      to create on startup via `spring.cache.cache-names`. If the provider
      relies on a configuration file and a custom one needs to be used
      `spring.cache.config` can be set to such custom resource.
      
      If more than one JSR-107 provider is present, it is possible to force
      the provider to use by setting the mode to `jcache` and specifying the
      fully qualified class name of the CachingProvider to use via
      `spring.cache.jcache.provider`.
      
      See gh-2633
      151220f4
    • Phillip Webb's avatar
      Polish · 10da3d39
      Phillip Webb authored
      10da3d39
    • Stephane Nicoll's avatar
      Upgrade to maven-archiver 2.6 · 80194bd0
      Stephane Nicoll authored
      Closes gh-2376
      80194bd0
    • Stephane Nicoll's avatar
      Upgrade event listener to GenericApplicationListener · e21d8042
      Stephane Nicoll authored
      SmartApplicationListener has been superseded by GenericEventListener as
      of Spring Framework 4.2. It will be eventually deprecated and removed.
      
      Migrate our event listeners to use the new contract.
      
      Closes gh-2576
      e21d8042
    • Stephane Nicoll's avatar
      Use testConnection() method · f5023fd4
      Stephane Nicoll authored
      Update MailHealthIndicator to use the new testConnection() method
      available as of Spring Framework 4.2
      
      Closes gh-2666
      f5023fd4
  4. 26 Mar, 2015 27 commits