- 12 12月, 2013 7 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11091 (cherry picked from commit 161819f1)
-
由 Juergen Hoeller 提交于
Issue: SPR-11107 (cherry picked from commit 9fbb57c3)
-
由 Juergen Hoeller 提交于
Issue: SPR-11076 (cherry picked from commit 3ff3805e)
-
由 Juergen Hoeller 提交于
Issue: SPR-10986 (cherry picked from commit ccafccbe)
-
由 Juergen Hoeller 提交于
Issue: SPR-11097 (cherry picked from commit 2d2226ba)
-
由 Juergen Hoeller 提交于
Issue: SPR-11098 (cherry picked from commit 62ea6279)
-
由 Phillip Webb 提交于
Add 'spring-framework-bom' meta-project that contains the other projects in a dependencyManagement section. Issue: SPR-11138
-
- 11 12月, 2013 5 次提交
-
-
由 Sam Brannen 提交于
This commit makes several methods of TestContext non-final in order to allow TestContext to be mocked — for example with Mockito. Note, however, that TestContext has been converted to an interface in Spring Framework 4.0. Issue: SPR-11144
-
由 Sam Brannen 提交于
This commit fixes a bug introduced in the last commit. ServletTestExecutionListener (STEL) now tracks whether it has already populated the RequestContextHolder. Issue: SPR-11144 Backport-Commit: 800018a8
-
由 Sam Brannen 提交于
The previous commit for issue SPR-11144 revealed a bug in ServletTestExecutionListener (STEL). Specifically, STEL acted on the fact that the ApplicationContext for a given TestContext was an instance of WebApplicationContext. This behavior could potentially break test code from previous releases of the Spring Framework that relied on a custom setup of the RequestAttributes in the RequestContextHolder with a custom WebApplicationContext ContextLoader. This commit addresses this issue by ensuring that STEL only comes into play if the test class is annotated with @WebAppConfiguration (for prepareTestInstance() and beforeTestMethod()) or if the TestContext attribute named RESET_REQUEST_CONTEXT_HOLDER_ATTRIBUTE is set to Boolean.TRUE (for afterTestMethod()). Issue: SPR-11144 Backport-Commit: 099b10d2
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Specifically, read and write methods are allowed to express property types with superclass/subclass relationships in both directions now. Issue: SPR-11139 (cherry picked from commit cb624e25)
-
- 10 12月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
Optimized use of JDBC 3.0 ParameterMetaData.getParameterType, caching information about drivers which do not support that feature Issue: SPR-11100 (cherry picked from commit 4c8a7899)
-
由 Juergen Hoeller 提交于
Fixed inner bean name determination for multi-level nesting scenario, calculating a unique bean name as early as possible now (and for any kind of bean scope) Our per-bean caching in AutowiredAnnotationBeanPostProcessor and co relies on unique bean names, so this change fixes potential cache mismatch problems occuring there. Issue: SPR-11131 (cherry picked from commit 242ecdc4)
-
由 Juergen Hoeller 提交于
Issue: SPR-11112 (cherry picked from commit 5dcd2876)
-
由 Juergen Hoeller 提交于
Issue: SPR-11093 (cherry picked from commit 6078c27e)
-
- 09 12月, 2013 3 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, the ServletTestExecutionListener did not overwrite RequestAttributes in the RequestContextHolder if the ApplicationContext associated with the given TestContext was not a WebApplicationContext; however, the ServletTestExecutionListener would clear the RequestAttributes after every test method execution, regardless of whether the context was a WebApplicationContext or not. This behavior breaks backwards compatibility with integration tests that managed the RequestAttributes in RequestContextHolder themselves. This commit addresses this issue by introducing a TestContext attribute named RESET_REQUEST_CONTEXT_HOLDER_ATTRIBUTE in ServletTestExecutionListener. This attribute is used internally within ServletTestExecutionListener to ensure that the RequestContextHolder is only cleared (i.e., reset) if the ServletTestExecutionListener actually populated the RequestContextHolder. Issue: SPR-11144 Backport-Commit: a3b022aa
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11116
-
- 04 12月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Fix regression introduced in b25e91a5 where ReflectivePropertyAccessor does not consider the return type for "is" getters. Issue: SPR-11142 (cherry picked from commit 85b0bfff)
-
- 03 12月, 2013 5 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11140
-
由 Juergen Hoeller 提交于
Issue: SPR-11080 Issue: SPR-11092
-
由 Juergen Hoeller 提交于
(cherry picked from commit 2a52decb)
-
由 Juergen Hoeller 提交于
(cherry picked from commit 2a52decb)
-
由 Juergen Hoeller 提交于
Use AnnotationTransactionAttributeSource class name to avoid hard dependency on transaction.annotation package (cherry picked from commit 41332728)
-
- 02 12月, 2013 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-11132 (cherry picked from commit de890fd1)
-
由 Juergen Hoeller 提交于
(cherry picked from commit 519f78c3)
-
- 27 11月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Fix CacheAspectSupport to consider a cache hit from any of the multiple @Cachables that may have been specified using the @Caching annotation. Prior to this commit the following scenario would never produce a hit: @Caching(cacheable = { @Cacheable(value = "c1", unless = "#result.size() < 4"), @Cacheable(value = "c2", unless = "#result.size() > 3") }) Issue: SPR-11124
-
- 07 11月, 2013 2 次提交
-
-
由 Spring Buildmaster 提交于
-
由 Phillip Webb 提交于
-
- 06 11月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11018 (cherry picked from commit e9a24da2)
-
由 Juergen Hoeller 提交于
Issue: SPR-11039 (cherry picked from commit 0aedd81c)
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10982
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11043
-
- 05 11月, 2013 5 次提交
-
-
由 Rossen Stoyanchev 提交于
This change disables the processing of external entities in SourceHttpMessageConverter by default and provides an option to enable it if required.
-
由 Juergen Hoeller 提交于
Perform setParent's Environment merging for ClassPathXmlApplicationContext etc constructors with parent argument as well Issue: SPR-11068 (cherry picked from commit c5fcf195)
-
由 Juergen Hoeller 提交于
Issue: SPR-10937 (cherry picked from commit 4ac68010)
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
As a side effect, @Bean overrides and overloads work with 'allowBeanDefinitionOverriding'=false as well now. Issue: SPR-10992
-