Go to file
Stephane Nicoll 5f6ae13002 Only require an exception CacheResolver if necessary
Previously, a cache infrastructure with only a CacheResolver would have
worked fine until the JSR-107 API is added to the classpath. When this is
the case, the JCache support kicks in and an exception cache resolver is
all of the sudden required.

The CacheResolver _is_ different as the default implementation does look
different attributes so if a custom CacheResolver is set, it is not
possible to "reuse" it as a fallback exception CacheResolver.

Now, an exception CacheResolver is only required if a JSR-107 annotation
with an "exceptionCacheName" attribute is processed (i.e. the exception
CacheResolver is lazily instantiated if necessary).

The use case of having a CachingConfigurerSupport with only a
CacheResolver was still broken though since the JCache support only looks
for a JCacheConfigurer bean (per the generic type set on
AbstractCachingConfiguration). This has been fixed as well.

Issue: SPR-12850
(cherry picked from commit 314b069)
2015-03-25 15:26:00 +01:00
.settings/gradle
buildSrc/src/main
gradle Fix typo in ide.gradle 2014-12-13 14:37:50 +01:00
spring-aop/src Polishing (in particular updating javadoc references to Apache Commons) 2015-03-13 20:13:21 +01:00
spring-aspects Polishing 2015-02-27 22:36:02 +01:00
spring-beans/src Polishing 2015-03-21 00:35:08 +01:00
spring-beans-groovy/src/main Fully support XML config in GroovyBeanDefinitionReader 2015-02-28 23:19:57 +01:00
spring-context Only require an exception CacheResolver if necessary 2015-03-25 15:26:00 +01:00
spring-context-support/src Only require an exception CacheResolver if necessary 2015-03-25 15:26:00 +01:00
spring-core/src Consistent javadoc param declarations for type variables 2015-03-25 01:02:40 +01:00
spring-expression Fine-tuned varargs handling in ReflectiveMethodResolver (including useDistance mode) 2015-03-11 21:18:05 +01:00
spring-framework-bom
spring-instrument/src
spring-instrument-tomcat/src
spring-jdbc/src Polishing (in particular updating javadoc references to Apache Commons) 2015-03-13 20:13:21 +01:00
spring-jms/src Explicit documentation on 4.1+ properties in AbstractMessageListenerContainer 2015-03-20 23:56:37 +01:00
spring-messaging/src Consistent javadoc param declarations for type variables 2015-03-25 01:02:40 +01:00
spring-orm/src Removed outdated references to Servlet 2.3/2.4 2015-03-24 21:21:18 +01:00
spring-orm-hibernate4/src Removed outdated references to Servlet 2.3/2.4 2015-03-24 21:21:18 +01:00
spring-oxm Polishing 2015-03-06 23:51:32 +01:00
spring-test Polishing (in particular updating javadoc references to Apache Commons) 2015-03-13 20:13:21 +01:00
spring-tx/src Polishing 2015-03-02 21:56:21 +01:00
spring-web/src Consistent javadoc param declarations for type variables 2015-03-25 01:02:40 +01:00
spring-webmvc/src Consistent javadoc param declarations for type variables 2015-03-25 01:02:40 +01:00
spring-webmvc-portlet/src Polishing (in particular updating javadoc references to Apache Commons) 2015-03-13 20:13:21 +01:00
spring-webmvc-tiles2/src Polishing 2014-11-02 11:48:09 +01:00
spring-websocket/src Consistent javadoc param declarations for type variables 2015-03-25 01:02:40 +01:00
src Correct reference to executeAndReturnKey method 2015-02-18 22:30:20 +01:00
.gitignore
.mailmap
CONTRIBUTING-DOCUMENTATION.adoc
CONTRIBUTING.md
README.md
build.gradle Latest dependency updates (Groovy 2.3.11, Jetty 9.2.10, Netty 4.0.26, Undertow 1.1.3) 2015-03-21 00:37:04 +01:00
gradle.properties Next Development Version 2015-02-20 03:10:10 -08:00
gradlew
gradlew.bat
import-into-eclipse.bat
import-into-eclipse.sh Update Eclipse project import script 2014-12-13 14:24:01 +01:00
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 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 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.