Juergen Hoeller
f8f6c5fd89
Polishing
12 years ago
Juergen Hoeller
354917c53d
Polishing (backports from 4.0.1)
12 years ago
Juergen Hoeller
1e0bf493cc
Backported generics/varargs signature refinements for scripting package
12 years ago
Juergen Hoeller
0ea4f8ecb7
Fixed resolveProxyTargetClass exception message
12 years ago
Juergen Hoeller
139adba96a
Removed TestGroup.LONG_RUNNING marker from Groovy and JRuby tests
12 years ago
Juergen Hoeller
477e60f28a
Add minor optimization to AbstractErrors
...
Issue: SPR-11304
12 years ago
Juergen Hoeller
8c8eead667
Removed AbstractAsyncConfiguration's abstract "asyncAdvisor" method for Java 8 compatibility (to avoid method overloading problem for configuration classes)
12 years ago
Juergen Hoeller
be2d915cc2
Consistent equals/hashCode/toString implementations in AnnotationMatchingPointcut/ClassFilter/MethodMatcher
...
Issue: SPR-11275
Issue: SPR-11276
(cherry picked from commit 0de307b )
12 years ago
Juergen Hoeller
6045914057
Polishing
12 years ago
Juergen Hoeller
c48da0d9a4
Avoid hard reference to LocalValidatorFactoryBean in <mvc:annotation-driven> parser
...
Issue: SPR-11272
12 years ago
Juergen Hoeller
2e123b01e5
Polishing
...
Issue: SPR-11259
(cherry picked from commit f0d2151 )
12 years ago
Juergen Hoeller
5dddb492b8
Polishing around @Enable processing and @EnableTransactionManagement
...
Issue: SPR-11251
12 years ago
Juergen Hoeller
ecee20f1fe
@Enable registrars called with correct metadata when placed on superclass
...
Issue: SPR-11251
12 years ago
Juergen Hoeller
08aa22ff1f
InjectionMetadata caching per bean name needs to refresh when bean class changes
...
Issue: SPR-11246
12 years ago
Juergen Hoeller
7ad6df8c75
Moved AnnotationBeanNameGenerator's String value check right before cast
...
Issue: SPR-11221
12 years ago
Juergen Hoeller
f5d5882f46
Fixed @Bean meta-annotation detection when using ASM
...
This turned out to be a bug in the ASM-based AnnotationMetadata implementation where has/getAnnotatedMethods didn't consider meta-annotations., in contrast to its StandardAnnotationMetadata sibling.
Issue: SPR-10488
(cherry picked from commit 105e176 )
12 years ago
Juergen Hoeller
249d8379ae
Polishing
...
(cherry picked from commit aa6e6c1 )
12 years ago
Juergen Hoeller
2a6c642408
Added tests for custom qualifier annotations on scoped @Bean methods
...
Issue: SPR-11116
(cherry picked from commit c5d7977 )
12 years ago
Juergen Hoeller
1ea218cee2
MBean registration happens in a fully synchronized fashion for consistent results
...
Issue: SPR-11002
(cherry picked from commit 8d6d6be )
12 years ago
Juergen Hoeller
ec78165072
Component scanning ignores attributes and meta-annotations on non-public annotations
...
Issue: SPR-11091
(cherry picked from commit 161819f )
12 years ago
Juergen Hoeller
d0fc38ec76
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 242ecdc )
12 years ago
Juergen Hoeller
6bed18004e
Fixed detection of qualifier annotations on scoped-proxy factory methods
...
Issue: SPR-11116
12 years ago
Juergen Hoeller
25c7e3645b
Polishing (including removal of javadoc imports that show as package cycles in IntelliJ)
...
(cherry picked from commit 2a52dec )
12 years ago
Juergen Hoeller
5639eb66b6
Polishing
12 years ago
Juergen Hoeller
c1b772cd9c
Optimized ImportAware processing to avoid re-reading class files
...
(cherry picked from commit 519f78c )
12 years ago
Phillip Webb
73a8a1b966
Detect cache hit with multiple @Cachables
...
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
12 years ago
Juergen Hoeller
df7b661702
Added test for placeholder in alias definition
...
Issue: SPR-11018
(cherry picked from commit e9a24da )
12 years ago
Juergen Hoeller
fe46a01a57
JndiObjectFactoryBean converts a "defaultObject" value to the expected type if necessary
...
Issue: SPR-11039
(cherry picked from commit 0aedd81 )
12 years ago
Juergen Hoeller
863570abb7
Perform setParent's Environment merging for ClassPathXmlApplicationContext etc constructors with parent argument as well
...
Issue: SPR-11068
(cherry picked from commit c5fcf19 )
12 years ago
Juergen Hoeller
494cc22bcd
Polishing (along with SPR-10992)
12 years ago
Juergen Hoeller
044d68b336
@Bean method metadata is always being picked from the most concrete subclass
...
As a side effect, @Bean overrides and overloads work with 'allowBeanDefinitionOverriding'=false as well now.
Issue: SPR-10992
12 years ago
Juergen Hoeller
a95eb1d044
Polishing (selectively backported from recent 4.0 commits)
12 years ago
Juergen Hoeller
b00c31a620
Use non-lenient constructor resolution mode for @Bean methods
...
Since @Bean methods are never used with externally specified constructor argument values but rather just with autowiring, the non-lenient constructor resolution mode is appropriate in case of an overloaded @Bean method, not performing any type difference weight checks. This change includes a refinement of Spring's existing non-lenient constructor resolution (which needs to be explicitly turned on and is therefore not well tested), narrowing the conditions for the ambiguity check (only in case of the same number of arguments and not for overridden methods).
Issue: SPR-10988
(cherry picked from commit b093b84 )
12 years ago
Juergen Hoeller
23cc44f16e
Javadoc polishing
12 years ago
Juergen Hoeller
1ac8e48ebf
Polishing (backported from several master changes)
12 years ago
Phillip Webb
1ea7f741fe
Multicaster support for events with null source
...
Update `AbstractApplicationEventMulticaster` to support `EventObjects`
with a null source (which can happen if they have been serialized).
Issue: SPR-10945
(cherry picked from commit b0ff834e )
12 years ago
Phillip Webb
8c6fe2cb42
Consistent ordering for @PropertySource locations
...
Ensure that property source locations are processed in the same order
regardless if the 'name' attribute is set or not.
Prior to this commit multiple locations from a `@PropertySource` with
a name were added to a `CompositePropertySource` in such a way that
the first location would take precedence. This has now been reversed
for consistence with unnamed `@PropertySource`s
Issue: SPR-10820
(cherry picked from commit e3d3d8cd )
12 years ago
Juergen Hoeller
3eaec64ee8
Fixed source location of setEncoding method
12 years ago
Juergen Hoeller
ce001c23f7
Cache InjectionMetadata per bean name instead of per Class, if possible
...
Issue: SPR-11027
(cherry picked from commit 4675bc4 )
12 years ago
Juergen Hoeller
93405fb289
Made processCommonDefinitionAnnotations(AnnotatedBeanDefinition) public
...
Issue: SPR-11032
(cherry picked from commit 8bd4804 )
12 years ago
Juergen Hoeller
ad9049e68a
Polishing
12 years ago
Juergen Hoeller
fce02d94b8
Changed JSR-330 detection logging from info to debug
...
Issue: SPR-10974
(cherry picked from commit 7a9d583 )
12 years ago
Phillip Webb
2dca5b6815
Filter source @Configuration with @ComponentScan
...
Exclude self @Component when parsing @ComponentScan annotations.
Issue: SPR-10531
(cherry picked from d91ffb)
12 years ago
Juergen Hoeller
a302c4ac45
Polishing
...
(cherry picked from commit 52cca48 )
12 years ago
Juergen Hoeller
7994b63c13
Polishing
13 years ago
Juergen Hoeller
0a31892475
Fixed handling of @Resource's shareable value
...
Issue: SPR-10931
(cherry picked from commit 7bc3e3b )
13 years ago
Juergen Hoeller
77298a19c9
Javadoc fixes
...
(cherry picked from commit facf31f )
13 years ago
Juergen Hoeller
9317d8f43e
Polishing
...
(cherry picked from commit caa1218 )
13 years ago
Juergen Hoeller
692908b722
Javadoc fixes
...
(cherry picked from commit 465e629 )
13 years ago
Juergen Hoeller
5a49d657d8
AnnotationConfigWebApplicationContext allows for repeated register/scan calls
...
Restoring consistency with AnnotationConfigApplicationContext.
Issue: SPR-10852
(cherry picked from commit 01b8d93 )
13 years ago