1. 03 Feb, 2016 3 commits
    • Vedran Pavic's avatar
      Fix MariaDB driver class name · 1bc3eb8f
      Vedran Pavic authored
      Closes gh-5075
      1bc3eb8f
    • Stephane Nicoll's avatar
      Clarify use of the `spring.datasource` prefix · 34d87df4
      Stephane Nicoll authored
      Previously, Spring Boot mapped both `DataSourceProperties` and the actual
      `DataSource` implementation to the same prefix. This results in a huge
      amount of keys in the `spring.datasource` namespace  with no way to
      identify those that are valid for the pooled data source in use.
      
      This commit maps the four pooled data sources we support in four isolated
      namespace, keeping `spring.datasource` only for the common settings.
      
      These are `spring.datasource.tomcat`, `spring.datasource.hikari`,
      `spring.datasource.dbcp` and `spring.datasource.dbcp2` for the Tomcat,
      Hikari, Commons DBCP and Commons DBCP2 implementations respectively.
      
      Closes gh-2183
      34d87df4
    • Phillip Webb's avatar
      Polish · bbc0dc69
      Phillip Webb authored
      bbc0dc69
  2. 02 Feb, 2016 9 commits
  3. 30 Jan, 2016 5 commits
    • Phillip Webb's avatar
      Clear caches on ApplicationContext load · acbb4e63
      Phillip Webb authored
      Ensure that JarFile caches are cleared once the ApplicationContext has
      loaded. Caches are cleared manually with the assumption that no
      further class loading is likely.
      
      Closes gh-4882
      acbb4e63
    • Phillip Webb's avatar
      Reduce memory consumption of fat/exploded jars · e2368b90
      Phillip Webb authored
      Refactor `spring-boot-loader` to reduce the amount of memory required
      to load fat & exploded jars. Jar files now no longer store a full list
      of entry data records, but instead use an array of entry name hashes.
      
      Since ClassLoaders often ask each JAR if they contain a particular
      entry (and mostly they do not), the hash array provides a quick way to
      deal with misses. Only when a hash does exist is data actually loaded
      from the underlying file.
      
      In addition to the JarFile changes, the Archive abstraction has also
      been updated to reduce memory consumption.
      
      See gh-4882
      e2368b90
    • Phillip Webb's avatar
      Drop use of loggers in Launchers · 858a854c
      Phillip Webb authored
      Remove the use of JDK loggers in Launcher and PropertiesLauncher to
      ensure allow the custom Log4j2 `LogManager` to be used with Spring Boot
      applications.
      
      Fixes gh-3815
      858a854c
    • Phillip Webb's avatar
      Allow package private spring.factories classes · 50e78b9c
      Phillip Webb authored
      Update SpringApplication to allow classes loaded from spring.factories
      to be package private.
      
      Fixes gh-5043
      50e78b9c
    • Phillip Webb's avatar
      Share MetadataReaderFactory · 26dfbeb8
      Phillip Webb authored
      Add SharedMetadataReaderFactoryContextInitializer to ensure that a
      shared caching MetadataReaderFactory is used between configuration
      classes and auto-configure sorting.
      
      Fixes gh-4993
      26dfbeb8
  4. 29 Jan, 2016 4 commits
  5. 28 Jan, 2016 6 commits
  6. 27 Jan, 2016 9 commits
  7. 26 Jan, 2016 4 commits