1. 24 Jan, 2017 20 commits
    • Andy Wilkinson's avatar
      5efa6370
    • Andy Wilkinson's avatar
      Revert "Try to fix the CI build" · 609bda80
      Andy Wilkinson authored
      This reverts commit 4e36a079.
      609bda80
    • Andy Wilkinson's avatar
      Try to fix the CI build · 4e36a079
      Andy Wilkinson authored
      The order of the modules declared in pom.xml should not make any
      difference given the other relationships that exist between projects,
      however the CI build is ordering the projects incorrectly.
      
      Try changing the order of the modules to see if the CI build can be
      coaxed into ordering them correctly.
      4e36a079
    • Stephane Nicoll's avatar
      Merge branch '1.4.x' into 1.5.x · 4a60de78
      Stephane Nicoll authored
      4a60de78
    • Stephane Nicoll's avatar
      Review doc on advanced datasource customization · 4efa4590
      Stephane Nicoll authored
      Closes gh-7652
      4efa4590
    • Phillip Webb's avatar
      Polish · b0e06c30
      Phillip Webb authored
      b0e06c30
    • Phillip Webb's avatar
      Make OnClassCondition an AutoConfigurationImportFilter · de50cfa2
      Phillip Webb authored
      Update OnClassCondition to implement AutoConfigurationImportFilter so
      that auto-configuration candidates can be filtered early. The
      optimization helps to improve application startup time by reducing
      the number of classes that are loaded.
      
      See gh-7573
      de50cfa2
    • Phillip Webb's avatar
      Add AutoConfigurationImportFilter support · 20a20b77
      Phillip Webb authored
      Add `AutoConfigurationImportFilter` strategy interface which can be used
      to filter auto-configuration candidates before they are loaded.
      
      See gh-7573
      20a20b77
    • Phillip Webb's avatar
      Optimize AutoConfigurationSorter · 02641a82
      Phillip Webb authored
      Optimize `AutoConfigurationSorter` by used properties generated by the
      annotation processor whenever possible. The removes the need for each
      candidate class to be ASM parsed just to access the order annotations.
      
      See gh-7573
      02641a82
    • Phillip Webb's avatar
      Add AutoConfigurationMetadata abstraction · 1cbda9bd
      Phillip Webb authored
      Add AutoConfigurationMetadata interface and a an internal loader that
      allows easy access to data written by `spring-boot-configure-processor`.
      
      See gh-7573
      1cbda9bd
    • Madhura Bhave's avatar
      Introduce spring-boot-autoconfigure-processor · ca435512
      Madhura Bhave authored
      Add an annotation processor that generates properties files for certain
      auto-configuration class annotations. Currently attribute values from
      @AutoConfigureOrder, @AutoConfigureBefore, @AutoConfigureAfter and
      @ConditionalOnClass annotations are stored.
      
      The properties file will allow optimizations to be added in the
      `spring-boot-autoconfigure` project. Primarily by removing the need
      to ASM parse as many `.class` files.
      
      See gh-7573
      ca435512
    • Phillip Webb's avatar
      Optimize OnEnabledResourceChainCondition · ccf964eb
      Phillip Webb authored
      Optimize OnEnabledResourceChainCondition by removing the DataBinder.
      Properties are now read directly from the Environment.
      
      See gh-7573
      ccf964eb
    • Phillip Webb's avatar
      Don't use DataBinder to work out excludes · f8ded6de
      Phillip Webb authored
      Update `AutoConfigurationImportSelector` so that exclude properties
      are loaded without invoking a `DataBinder`. This optimization helps
      to improve application startup time.
      
      See gh-7573
      f8ded6de
    • Phillip Webb's avatar
      Lazy initialize JacksonJsonParser ObjectMapper · 49fc7277
      Phillip Webb authored
      Update `JacksonJsonParser` to that the `ObjectMapper` is only
      initialized on first use. This performance optimization helps with
      startup times if nothing uses the parser.
      
      Fixes gh-8074
      49fc7277
    • Phillip Webb's avatar
      Don't call ReflectionUtils do deduce bean type · cfd5a73b
      Phillip Webb authored
      Update `OnBeanCondition` to no longer call `ReflectionUtils` when
      deducing the bean method return type. Since Spring Framework 4.2
      the return type has been directly available from `MethodMetadata`.
      
      See gh-7573
      cfd5a73b
    • Phillip Webb's avatar
      Optimize OnClassCondition isPresent check · 996afafa
      Phillip Webb authored
      Update `OnClassCondition` to use its own `isPresent` rather than using
      `ClassUtils.isPresent`. Using our own implementation saves a few cycles
      since we never need to check for native types, and we don't support
      nested class references specified in the non `$` notation.
      
      See gh-7573
      996afafa
    • Phillip Webb's avatar
      Remove dependency from `root` to `condition` · 96506682
      Phillip Webb authored
      Remove the slightly unusual dependency from the root autoconfigure
      pacakge to `condition`. Prior to this commit the link was required in
      ordere to populate the `ConditionEvaluationReport`. We now introduce
      a `AutoConfigurationImportListener` strategy that allows anyone to
      listen for AutoConfigurationImportEvents. The listener implementation
      is now used to update the ConditionEvaluationReport.
      
      Fixes gh-8073
      96506682
    • Phillip Webb's avatar
      Rename EnableAutoConfigurationImportSelector · b225b7f3
      Phillip Webb authored
      Rename EnableAutoConfigurationImportSelector to the more general
      AutoConfigurationImportSelector since it's now used for more than
      just the enable annotation.
      
      The existing EnableAutoConfigurationImportSelector class remains in
      a deprecated form so that it can be made package-private again in
      Spring Boot 2.0.
      
      Fixes gh-8072
      b225b7f3
    • Phillip Webb's avatar
      Relocate AutoConfigurations from root package · 2c89d991
      Phillip Webb authored
      Move PropertyPlaceholder and MessageSource auto-configuration from the
      root package to the `context` subpackage.
      
      Fixes gh-8071
      2c89d991
    • Phillip Webb's avatar
      Polish · 5703fb15
      Phillip Webb authored
      5703fb15
  2. 23 Jan, 2017 8 commits
  3. 22 Jan, 2017 4 commits
  4. 20 Jan, 2017 8 commits