- 26 Jan, 2017 26 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, ManagementContextConfiguration classes were loaded to allow them to be ordered based on either @Order or implementing Ordered. This had the unwanted side-effect of possibly logging unwanted INFO messages if the reflection-based annotation introspection failed. One cause of this was @ConditionalOnClass when the referenced class was not on the classpath. This commit uses the ASM-based annotation metadata reading to determine the order of a management context configuration class based on the @Order annotation. The classes are then sorted using a standard OrderComparator. Note that Ordering via implemented Ordered is not supported as it cannot be determine without loading the class.
-
Andy Wilkinson authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Stephane Nicoll authored
See gh-7579
-
Stephane Nicoll authored
Closes gh-8113
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-8112
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, Hibernate Validator would fail to initialize if it was on the classpath but an EL implementation was not. OnValidatorAvailableCondition protected against this scenario by initializing the validator. The Hibernate Validator shortcoming was addressed in eb222209 (gh-7598). As a result, checking for the precences of the ValidationProvider META-INF/services resource is now sufficient to auto-configure validation. This commit removes OnValidatorAvailableCondition as it is no longer necessary. Closes gh-8110
-
Andy Wilkinson authored
Closes gh-8114
-
Andy Wilkinson authored
Closes gh-7579
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-8112
-
Stephane Nicoll authored
Closes gh-8032
-
Phillip Webb authored
Update the open_source_licenses file to reflect the fact that the org.json library is no longer used. See gh-5929
-
Phillip Webb authored
-
Phillip Webb authored
Closes gh-7703
-
Phillip Webb authored
Update all `EmbeddedServletContainer` implementations to ensure that the `start()` method can be called multiple times, with the second call being ignored. Fixes gh-8036
-
Phillip Webb authored
Update `Log4J2LoggingSystem` and `LogbackLoggingSystem` to ensure that filters are removed when the `cleanUp` method is called. Prior to this commit application failures would not remove the filter and no log messages would appear. The `LoggingApplicationListener` has also been updated since it previously failed to handle `ApplicationFailureEvents`. Finally `EventPublishingRunListener` and `DelegatingApplicationListener` have been updated to deal with `null` parameters and to cope with listener errors. Fixes gh-7758
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 25 Jan, 2017 14 commits
-
-
Andy Wilkinson authored
Closes gh-8008
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This reverts commit 70cd5c42. See gh-8083
-
Andy Wilkinson authored
In version 2.3.6 and earlier, an attempt to create a Bucket or a ClusterInfo would fail fast with a ConnectException in the cause of the Couchbase server was done. In 2.3.7 this remains true for a Bucket but is no longer the case for ClusterInfo. The latter now retries for 75 seconds by default and when it eventually fails a ConnectException is no longer part of the cause chain. This commit makes the auto-configured ClusterInfo depend on the auto-configured Bucket. This means that the Bucket is always created before the ClusterInfo, thereby ensuring that things fail gracefully with useful diagnostics when the server is unavailable. Closes gh-8092
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-7774
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, AbstractEmbeddedServletContainerFactory detected an exploded war by looking for `/WEB-INF/` in the path of its code source's location. This failed on Windows due to the use of `\` rather than `/` separators. This commit updates AbstractEmbeddedServletContainerFactory to uses the OS's separator rather than hardcoding `/`. Closes gh-8100
-
Stephane Nicoll authored
Closes gh-8089
-
dreis authored
See gh-8089
-
Stephane Nicoll authored
Closes gh-8103
-
Johnny Lim authored
See gh-8103
-
Stephane Nicoll authored
Closes gh-8102
-
Dave Syer authored
See gh-6404
-