Go to file
Rossen Stoyanchev cfe2af7690 Use the type of the actual return value in @MVC
The new @MVC support classes select a HandlerMethodArgumentResolver
and a HandlerMethodReturnValueHandler statically, i.e. based on
the signature of the method, which means that a controller method
can't declare a more general return type like Object but actually
return a more specific one, e.g.  String vs RedirectView, and
expect the right handler to be used.

The fix ensures that a HandlerMethodReturnValueHandler is selected
based on the actual return value type, which is something that was
supported with the old @MVC support classes. One consequence
of the change is the selected HandlerMethodReturnValueHandler can
no longer be cached but that matches the behavior of the old
@MVC support classes.

Issues: SPR-9218
2012-04-06 16:50:22 -04:00
.settings/gradle Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
gradle/wrapper Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
spring-aop/src Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-asm/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-aspects Fix and refactor spring-aspects build 2012-01-31 14:37:12 +01:00
spring-beans/src Fix typo in util:constant error reporting 2012-03-26 20:08:54 +03:00
spring-context Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-context-support/src Sync with 3.1.x 2012-02-16 13:00:28 +01:00
spring-core/src Improvement in AntPathMatcher.combine method 2012-04-02 15:06:20 -04:00
spring-expression Sync with 3.1.x 2012-02-13 15:17:30 +01:00
spring-instrument/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-instrument-tomcat/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-jdbc/src Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-jms/src Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-orm/src Fix warnings in LocalSessionFactoryBean 2012-03-09 11:36:56 +02:00
spring-oxm Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-struts/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-test Sync with 3.1.x 2012-02-13 15:17:30 +01:00
spring-tx/src Introduce 3.2 versions of Spring XML namespaces 2012-03-26 20:06:06 +03:00
spring-web/src Use the type of the actual return value in @MVC 2012-04-06 16:50:22 -04:00
spring-webmvc/src Use the type of the actual return value in @MVC 2012-04-06 16:50:22 -04:00
spring-webmvc-portlet/src Fix race condition in AnntationMethodHER 2012-04-02 15:46:31 -04:00
src Use the type of the actual return value in @MVC 2012-04-06 16:50:22 -04:00
.gitignore Introduce Gradle-based build 2012-01-31 14:31:04 +01:00
README.md Add link to contributor guidelines in readme 2012-02-16 13:13:44 +01:00
build.gradle Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
gradle.properties Introduce Gradle-based build 2012-01-31 14:31:04 +01:00
gradlew Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
gradlew.bat Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
import-into-eclipse.sh Fix typo in Eclipse import instructions 2012-03-01 12:46:52 +01:00
import-into-idea.md Update README and add IDE import helper scripts 2012-01-31 14:37:12 +01:00
publish-maven.gradle Generate Maven Central-compatible poms 2012-01-31 14:37:06 +01:00
settings.gradle Rename modules {org.springframework.*=>spring-*} 2012-01-31 14:37:10 +01:00

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 SpringSource organization on GitHub for a full list.

.NET and Python variants are available as well.

Downloading artifacts

Instructions on downloading Spring artifacts via Maven and other build systems are available via the project wiki.

Documentation

See the current Javadoc and Reference docs.

Getting support

Check out the Spring forums and the Spring tag on StackOverflow. Commercial support is available too.

Issue Tracking

Spring's JIRA issue tracker can be found here. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues repository. The readme 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. The only prerequisites are git and JDK 1.6+.

check out sources

git clone git://github.com/SpringSource/spring-framework.git

compile and test, build all jars, distribution zips and docs

./gradlew build

install all spring-* jars into your local Maven cache

./gradlew install

import sources into your IDE

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

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

Contributing

Pull requests are welcome; see the contributor guidelines.

Staying in touch

Follow @springframework and its team members on Twitter. In-depth articles can be found at the SpringSource team blog, and releases are announced via our news feed.

License

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