Go to file
Rossen Stoyanchev 210e10c657 Add AsyncHandlerMethodReturnValueHandler
Before this change HandlerMethodReturnValueHandler's were invoked in a
specific order (type-based, annotation-based, custom). However handlers
that deal with asynchronous return value handling need to always be
considered first. This affects custom handlers in particular since they
are normally ordered last.

This change introduces an AsyncHandlerMethodReturnValueHandler
sub-interface with a single method to determine if the return value is
asynchronous and if it is to look for a matching handler only among
those that are of type AsyncHandlerMethodReturnValueHandler.

Issue: SPR-13083
2015-06-16 08:48:56 -04:00
.settings/gradle
buildSrc/src/main
gradle
spring-aop/src AsyncExecutionInterceptor supports Java 8's CompletableFuture as a return type 2015-06-15 20:35:48 +02:00
spring-aspects Introduce alias for 'value' attribute in caching annotations 2015-05-31 22:52:01 +02:00
spring-beans/src Revise method and parameter names in annotation support 2015-06-14 00:34:40 +02:00
spring-beans-groovy/src/main
spring-context AsyncExecutionInterceptor supports Java 8's CompletableFuture as a return type 2015-06-15 20:35:48 +02:00
spring-context-support/src
spring-core/src AbstractApplicationContext resets common introspection caches after refresh 2015-06-15 20:34:46 +02:00
spring-expression Remove trailing whitespace in Java source code 2015-05-29 02:03:44 +02:00
spring-framework-bom
spring-instrument/src
spring-instrument-tomcat/src
spring-jdbc/src
spring-jms/src Polishing 2015-06-11 12:33:30 +02:00
spring-messaging/src Polish 2015-06-15 14:56:56 -04:00
spring-orm/src
spring-orm-hibernate4/src SpringSessionSynchronization's beforeCompletion unbinds after disconnect failure as well 2015-06-01 20:34:14 +02:00
spring-orm-hibernate5/src/main/java/org/springframework/orm/hibernate5 SpringSessionSynchronization's beforeCompletion unbinds after disconnect failure as well 2015-06-01 20:34:14 +02:00
spring-oxm Remove references to codehaus.org 2015-06-15 15:44:29 +02:00
spring-test Retain order of active profiles in the TCF 2015-06-15 14:25:06 +01:00
spring-tx/src Revise method and parameter names in annotation support 2015-06-14 00:34:40 +02:00
spring-web/src Add AsyncHandlerMethodReturnValueHandler 2015-06-16 08:48:56 -04:00
spring-webmvc/src Add AsyncHandlerMethodReturnValueHandler 2015-06-16 08:48:56 -04:00
spring-webmvc-portlet/src Introduce alias for 'value' attribute in @RenderMapping 2015-05-31 21:24:32 +02:00
spring-webmvc-tiles2/src
spring-websocket/src Polishing 2015-05-23 20:04:48 +02:00
src Remove references to codehaus.org 2015-06-15 15:44:29 +02:00
.gitignore
.mailmap
CONTRIBUTING-DOCUMENTATION.adoc
CONTRIBUTING.md
README.md
build.gradle Latest dependency updates (OkHttp 2.4, H2 1.4.187, Joda-Time 2.8.1) 2015-06-16 00:17:16 +02:00
gradle.properties
gradlew
gradlew.bat
import-into-eclipse.bat
import-into-eclipse.sh
import-into-idea.md
settings.gradle

README.md

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications -- on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

The framework also serves as the foundation for Spring Integration, Spring Batch and the rest of the Spring family of projects. Browse the repositories under the Spring organization on GitHub for a full list.

Downloading Artifacts

See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.

Documentation

See the current Javadoc and reference docs.

Getting Support

Check out the spring tags on Stack Overflow. Commercial support is available too.

Issue Tracking

Report issues via the Spring Framework JIRA. Understand our issue management process by reading about the lifecycle of an issue. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues GitHub repository. The readme there provides simple step-by-step instructions.

Building from Source

The Spring Framework uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.

Prerequisites

Git and JDK 8 update 20 or later

Be sure that your JAVA_HOME environment variable points to the jdk1.8.0 folder extracted from the JDK download.

Check out sources

git clone git@github.com:spring-projects/spring-framework.git

Import sources into your IDE

Run ./import-into-eclipse.sh or read import-into-idea.md as appropriate.

Note: Per the prerequisites above, ensure that you have JDK 8 configured properly in your IDE.

Install all spring-* jars into your local Maven cache

./gradlew install

Compile and test; build all jars, distribution zips, and docs

./gradlew build

... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.

Contributing

Pull requests are welcome; see the contributor guidelines for details.

Staying in Touch

Follow @SpringCentral as well as @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.