spring 源码 https://spring.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Spring Buildmaster b8bfabdce6 Next development version 4.0.0.BUILD-SNAPSHOT 11 years ago
.settings/gradle Remove spring-asm and inline ASM 4 into spring-core 12 years ago
buildSrc/src/main Fix MergePlugin 11 years ago
gradle Update to Gradle 1.6 12 years ago
spring-aop/src Moved executor null check to AsyncExecutionInterceptor, allowing AbstractAsyncExecutionAspect to fall back to sync execution (as in 3.2.1) 11 years ago
spring-aspects OpenJDK 8 build 99: annotation discovery on bridge methods 11 years ago
spring-beans/src Turn down logging in DefaultListableBeanFactory 11 years ago
spring-context Polishing 11 years ago
spring-context-support/src Add @Override to remaining source files 12 years ago
spring-core/src Add TestGroup.CUSTOM_COMPILATION 11 years ago
spring-expression Polish MethodReference 11 years ago
spring-instrument/src Update Apache license headers for affected sources 12 years ago
spring-instrument-tomcat/src Update Apache license headers for affected sources 12 years ago
spring-jdbc/src Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError 11 years ago
spring-jms/src Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError 11 years ago
spring-messaging/src Fix failing tests 11 years ago
spring-orm/src Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError 11 years ago
spring-orm-hibernate4/src Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError 11 years ago
spring-oxm Enable Jibx binding with TestGroup.CUSTOM_COMPILATION 11 years ago
spring-test Delete remaining JUnit 3.8 tests in spring-test 11 years ago
spring-test-mvc/src Fix issue with xpath assertions in Spring Test MVC 11 years ago
spring-tx/src Resource-based PlatformTransactionManager implementations defensively catch Throwable in doBegin in order to reliably close resource in case of OutOfMemoryError 11 years ago
spring-web/src Polishing 11 years ago
spring-webmvc/src Add TestGroup.CUSTOM_COMPILATION 11 years ago
spring-webmvc-portlet/src Replaced Map synchronization with ConcurrentHashMap to avoid session access deadlocks 12 years ago
spring-webmvc-tiles3/src Add @Override to remaining source files 12 years ago
spring-websocket/src Fix bug in SockJS JsonpTransportHandler 11 years ago
src Additional docs about security vulnerabilities with XStream. 11 years ago
.gitignore Fix test for daylight savings glitch 12 years ago
CONTRIBUTING.md Instruct contributors to branch from master 11 years ago
README.md Fix minor typo in README.md 11 years ago
build.gradle Remove unnecessary spring-instrument dependencies 11 years ago
gradle.properties Next development version 4.0.0.BUILD-SNAPSHOT 11 years ago
gradlew Replace MaxPermSize use in build scripts 11 years ago
gradlew.bat Replace MaxPermSize use in build scripts 11 years ago
import-into-eclipse.bat Create import-into-eclipse.bat for Windows users 12 years ago
import-into-eclipse.sh Update STS version used to test Eclipse setup script 12 years ago
import-into-idea.md Skip creation of IDEA metadata for spring-aspects 12 years ago
settings.gradle Create spring-messaging module 11 years ago

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.

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 forums and the spring and spring-mvc 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 Early Access build of OpenJDK 1.8 build 88

Note: Do not use the "lambda" edition of JDK b88 when building the framework, as it still causes some errors. It should be fine, however, to run against various versions of OpenJDK 1.8, lambda or otherwise.

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/SpringSource/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 @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.