Go to file
Brian Clozel 4337d8465c Remove spring.event.invoke-listener startup event
Prior to this commit, the `SimpleApplicationEventMulticaster` would be
instrumented with the `ApplicationStartup` and start/stop events for
invoking event listeners (`spring.event.invoke-listener`).

This feature was already limited to single-threaded event publishers,
but is still flawed since several types of events can happen
concurrently. Due to the single-threaded nature of the startup sequence,
our implementation should not produce startup events concurrently.

This can cause issues like gh-26057, where concurrent events lead to
inconcistencies when tracking parent/child relationships.

This commit removes the `spring.event.invoke-listener` startup event as
a result.

Fixes gh-26057
2020-12-03 15:40:31 +01:00
.github Configure Gradle wrapper validation action 2020-06-02 14:43:45 +02:00
buildSrc Upgrade to Gradle Enterprise 3.2 2020-04-29 10:54:03 +02:00
ci Don't swallow logs during promotion job in CI 2020-11-16 18:20:19 +01:00
framework-bom Remove BOM workaround 2020-04-28 15:14:02 +02:00
gradle Fix comment 2020-11-23 17:42:49 +01:00
integration-tests Drop explicit zeroing at instantiation of Atomic* objects 2020-10-06 15:45:12 +02:00
spring-aop Remove TODO from AbstractAspectJAdvice 2020-11-20 12:39:28 +01:00
spring-aspects Polishing 2020-11-16 17:42:22 +01:00
spring-beans Polishing 2020-11-27 21:46:45 +01:00
spring-context Remove spring.event.invoke-listener startup event 2020-12-03 15:40:31 +01:00
spring-context-indexer Polish contribution 2020-07-22 14:06:29 +02:00
spring-context-support Requalify tests as LONG_RUNNING 2020-09-25 13:43:38 +02:00
spring-core Support for multi-threaded addConverter calls 2020-12-02 12:25:37 +01:00
spring-expression Simplify AstUtils.getPropertyAccessorsToTry() 2020-11-16 16:11:31 +01:00
spring-instrument Delete obsolete log4j config 2020-03-18 17:01:01 +01:00
spring-jcl Polishing 2020-01-28 21:56:35 +01:00
spring-jdbc Individually apply the SQL type from each SqlParameterSource argument 2020-11-12 14:05:31 +01:00
spring-jms Compatibility with Jackson 2.12 (tested against 2.12.0-rc1) 2020-10-13 11:04:55 +02:00
spring-messaging Matching update for copyHeadersIfAbsent 2020-11-26 21:51:53 +00:00
spring-orm Early log entry for async EntityManagerFactory initialization failure 2020-11-13 17:52:51 +01:00
spring-oxm Merge branch '5.2.x' 2020-08-30 12:18:49 +02:00
spring-r2dbc Improve URI/query strings sanitization 2020-11-04 16:28:51 +01:00
spring-test Polishing 2020-11-16 14:33:21 +01:00
spring-tx Document that @Transactional does not propagate to new threads 2020-11-17 14:43:17 +01:00
spring-web Add SSE support to WebMvc.fn 2020-12-02 15:14:47 +01:00
spring-webflux Support for MediaType mappings in ResourceWebHandler 2020-11-30 17:16:55 +00:00
spring-webmvc Expose future response in new AsyncServerResponse 2020-12-03 14:45:56 +01:00
spring-websocket Expose allowedOriginPatterns in SocketJS XML config 2020-11-18 21:20:38 +00:00
src Remove spring.event.invoke-listener startup event 2020-12-03 15:40:31 +01:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Rename non-Framework project modules 2019-08-21 14:32:25 +02:00
.mailmap Change gopivotal.com to pivotal.io 2014-10-05 18:12:50 +02:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Update StackOverflow link 2020-04-20 12:32:11 +01:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Add JMH benchmark infrastructure 2020-05-13 21:29:02 +02:00
SECURITY.md Create SECURITY.md 2019-05-23 11:36:52 -04:00
build.gradle Upgrade to Jackson 2.12, Hibernate ORM 5.4.25, Checkstyle 8.38 2020-12-02 17:22:22 +01:00
gradle.properties Next development version (v5.3.2-SNAPSHOT) 2020-11-10 09:02:35 +00:00
gradlew Upgrade to Gradle 6.6 2020-08-11 12:10:35 +02:00
gradlew.bat Upgrade to Gradle 6.6 2020-08-11 12:10:35 +02:00
import-into-eclipse.md Polishing regarding AJDT versions 2020-01-13 17:15:27 +01:00
import-into-idea.md URL Cleanup 2019-03-21 15:08:55 -05:00
settings.gradle Include module names into alphabetical order 2020-06-24 16:08:21 +02:00

README.md

Spring Framework Build Status

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section as reference for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), Github wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks Wiki page.

Build from Source

See the Build from Source Wiki page and the CONTRIBUTING.md file.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.