- 24 Jan, 2017 22 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This reverts commit 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.
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-7652
-
Phillip Webb authored
-
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
-
Phillip Webb authored
Add `AutoConfigurationImportFilter` strategy interface which can be used to filter auto-configuration candidates before they are loaded. See gh-7573
-
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
-
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
-
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
-
Phillip Webb authored
Optimize OnEnabledResourceChainCondition by removing the DataBinder. Properties are now read directly from the Environment. See gh-7573
-
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
-
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
-
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
-
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
-
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
-
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
-
Phillip Webb authored
Move PropertyPlaceholder and MessageSource auto-configuration from the root package to the `context` subpackage. Fixes gh-8071
-
Phillip Webb authored
-
- 23 Jan, 2017 8 commits
-
-
Stephane Nicoll authored
See gh-8027
-
Stephane Nicoll authored
This commit deprecates the `exceptionIfInvalid` feature as we have now a way to select the `@ConfigurationProperties` object to validate (i.e. add `@Validated` on them). Closes gh-8027
-
Andy Wilkinson authored
Previously, spring.profiles.include was only considered when it was used in a configuration file. It was ignored in any other property source. This commit updates ConfigFileApplicationListener so that spring.profiles.include can be used in any property source to add to the profiles that have been declared active via spring.profiles.active. Closes gh-7668
-
Andy Wilkinson authored
Closes gh-8058
-
Andy Wilkinson authored
Closes gh-5009
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7790
-
Andy Wilkinson authored
Closes gh-8050
-
- 22 Jan, 2017 4 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/8057: Fix entry in broken-initialization.factories
-
Johnny Lim authored
Closes gh-8057
-
Stephane Nicoll authored
Closes gh-8055
-
- 20 Jan, 2017 6 commits
-
-
Andy Wilkinson authored
Previously, AspectJ would find META-INF/aop.xml almost as soon as the jar was launched, and before LaunchedURLClassLoader had been created. This meant that AspectJ would attempt to load aspects listed in META-INF/aop.xml but that were package in BOOT-INF/classes and, therefore, could not be loaded. This commit updates the Repackager so that a META-INF/aop.xml file is moved into BOOT-INF/classes. This ensures that it isn't visible to the app class loader so it won't be loaded to early. It will now be loaded by LaunchedURLClassLoader which can also load the compiled aspects that aop.xml references. Closes gh-7587
-
Andy Wilkinson authored
Closes gh-7360
-
Andy Wilkinson authored
Closes gh-8000
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7360
-
Andy Wilkinson authored
-