Juergen Hoeller
1239595672
Polishing
10 years ago
Juergen Hoeller
60d7a7f519
Polishing
11 years ago
Juergen Hoeller
38db9fa855
Polishing
...
(cherry picked from commit 667fc7e )
11 years ago
Juergen Hoeller
42d5780cd3
Avoid ambiguous property warning for methods with multiple parameters
...
Issue: SPR-13349
(cherry picked from commit 05a16a1 )
11 years ago
Juergen Hoeller
7575271075
Polishing
11 years ago
Juergen Hoeller
3d131c9f3c
YamlProcessor explicitly closes UnicodeReader
...
Issue: SPR-13173
(cherry picked from commit 26acb48 )
11 years ago
Juergen Hoeller
2109db0c02
Stronger warning about lookup methods not working with @Bean
...
Includes an updated CGLIB AOP proxy note on constructor invocations.
Issue: SPR-13108
Issue: SPR-13103
11 years ago
Stephane Nicoll
bd601ce2e4
Make PropertyMatches public
...
Issue: SPR-13054
11 years ago
Stephane Nicoll
24783303a7
Add possible matches for field access
...
DirectFieldAccessor now support richer NotWritablePropertyException
content, including dedicated error message and possible matches.
Issue: SPR-13053
11 years ago
Juergen Hoeller
ae35e84c1e
Polishing
...
(cherry picked from commit 0711d6d )
11 years ago
Juergen Hoeller
0cd7fed050
CustomBooleanEditor avoids potential NPE in case of allowEmpty=false
...
Issue: SPR-13010
(cherry picked from commit 549e888 )
11 years ago
Juergen Hoeller
56f8d17b0c
FactoryBean type check logs currently-in-creation exception at debug level
...
Issue: SPR-12900
(cherry picked from commit 65ba72f )
11 years ago
Juergen Hoeller
34a5fb28c2
Polishing
11 years ago
Juergen Hoeller
d506767202
BeanWrapperImpl.setPropertyValue throws InvalidPropertyException with correct property value for nested collection case
...
Issue: SPR-12866
(cherry picked from commit e377fc0 )
11 years ago
Juergen Hoeller
97f779674f
Polishing
11 years ago
Juergen Hoeller
8d14e7736a
Polishing
...
(cherry picked from commit 162ee36 )
11 years ago
Juergen Hoeller
2de5faf56c
BeansDtdResolver resolves spring-beans.dtd declarations to spring-beans-2.0.dtd file
...
Issue: SPR-12836
(cherry picked from commit 8e4bfa9 )
11 years ago
Juergen Hoeller
b352dbfdeb
Polishing (in particular updating javadoc references to Apache Commons)
...
(cherry picked from commit bc6a98c )
11 years ago
Juergen Hoeller
f2b9a0a117
PropertyResourceConfigurerTests accepts "." in operating system name
...
Issue: SPR-12794
(cherry picked from commit 6fe85c2 )
11 years ago
Juergen Hoeller
7ed7f981c9
Polishing
...
(cherry picked from commit b541fc9 )
11 years ago
Juergen Hoeller
f01a0303f1
getTypeForFactoryBean suppresses instantiation failures for non-singleton FactoryBeans
...
Issue: SPR-12786
(cherry picked from commit 9b25d6a )
11 years ago
Juergen Hoeller
772552b9ef
Avoid potential deadlocks between event multicaster and singleton registry through shared lock
...
Issue: SPR-12739
(cherry picked from commit 81102de )
11 years ago
Stephane Nicoll
1646f62700
BeanWrapper auto-grows arrays if necessary
...
Previously, only indexed access for collections were supported. When
attempting to access the element of an array that had not the requested
size, the call would fail with an IndexOutOfBoundException
This commit harmonize the binding support so that the array is updated
according to the requested index if necessary.
Issue: SPR-12706
(cherry picked from commit aa21339 )
11 years ago
Juergen Hoeller
6c47b5f5d3
Avoid ConcurrentModificationException in getBeansWithAnnotation
...
Issue: SPR-12688
(cherry picked from commit 918bc3b )
11 years ago
Stephane Nicoll
6fce6d4668
Allow subclasses to configure the Yaml instance
...
Provide an additional hook-point for YamlProcessor subclasses willing to
change how the Yaml instance is configured. Also expose the default
StrictMapAppenderConstructor so that they can compose a custom instance
with it.
Issue: SPR-12671
11 years ago
Juergen Hoeller
901d7d07db
AbstractBeanDefinitionParser allows for skipping evaluation of XML "name" attribute
...
Issue: SPR-12643
(cherry picked from commit 11bf3b3 )
11 years ago
Juergen Hoeller
36da551280
Revised ExtendedBeanInfo test for SPR-8937 (for JDK 8u40 compatibility)
...
Issue: SPR-12582
(cherry picked from commit 7492129 )
11 years ago
Juergen Hoeller
bc075c713f
Polishing
11 years ago
Juergen Hoeller
d55af2b445
Consistent throwing of last UnsatisfiedDependencyException if available and no constructor resolved
...
Issue: SPR-12543
11 years ago
Juergen Hoeller
809ee0d350
Annotation post-processors clear old InjectionMetadata registrations on refresh
...
Issue: SPR-12526
11 years ago
Juergen Hoeller
dfdfc03ff3
Polishing
11 years ago
Juergen Hoeller
7317457bb1
Consistent bridge method handling in annotation post-processors
...
Issue: SPR-12495
11 years ago
Stephane Nicoll
6d6cd56d4a
Improve logging of registerScope
...
Issue: SPR-12519
11 years ago
Juergen Hoeller
bb1d1e916e
Polishing
11 years ago
Juergen Hoeller
03d4e1bc22
Consistent bridge method handling in annotation post-processors
...
Issue: SPR-12490
Issue: SPR-12495
11 years ago
Juergen Hoeller
15d3b88037
DefaultSingletonBeanRegistry's isDependent defensively checks for circular recursion
...
Issue: SPR-10787
11 years ago
Phillip Webb
87f1512e88
Add protected YamlProcessor.getFlattenedMap method
...
Add a protected getFlattenedMap method to the YamlProcessor that
subclasses can use to flatten a source Map so that it has the same
entries as the Properties, but retains order.
Issue: SPR-12499
11 years ago
Juergen Hoeller
82651a07ab
BeanFactory accepts getBean arguments for non-prototype beans as well
...
Issue: SPR-12488
11 years ago
Juergen Hoeller
fa0ef2d87e
BeanFactory accepts getBean arguments for non-prototype beans as well
...
Issue: SPR-12488
11 years ago
Juergen Hoeller
9a71a0c6c9
YamlProcessor defensively closes InputStream
...
Issue: SPR-12487
11 years ago
Juergen Hoeller
efb114d49a
Polishing
11 years ago
Juergen Hoeller
bfbd25a0e9
BeanWrapper auto-growing support for EnumSet / EnumMap
...
Issue: SPR-12483
11 years ago
Juergen Hoeller
e6d7af4ea8
Polishing
11 years ago
Juergen Hoeller
eacd4a181f
ExtendedBeanInfo ignores invalid bean properties (analogous to the JavaBeans Introspector)
...
Issue: SPR-12434
11 years ago
Juergen Hoeller
feb91e8366
NotReadablePropertyException accepts root cause (analogous to NotWritablePropertyException)
...
Issue: SPR-12467
11 years ago
Juergen Hoeller
afc77ff525
AnnotationBeanPostProcessors defensively catch and translate NoClassDefFoundErrors from class introspection
...
Issue: SPR-12461
11 years ago
Juergen Hoeller
14fef198f0
Explicitly clear manually registered singleton names after destroySingletons call
...
As indicated by our recent Spring Integration test failure, autowiring attempts after context closing did not fail before. After the introduction of the separately managed manualSingletonNames set, the algorithm could run into a situation where a singleton name is still in the manualSingletonNames set but not in the singletonObjects map anymore. As a remedy, destroySingletons needs to explicitly clear the manualSingletonNames set in order to remove references to non-disposable singleton beans as well (which are otherwise left in the set since individual destroySingleton calls only come in for disposable beans with destroy methods).
Issue: SPR-12404
11 years ago
Juergen Hoeller
3c3e07e324
Defensive handling of manually registered singleton names (based on Spring Integration test failure)
...
Issue: SPR-12404
11 years ago
Juergen Hoeller
965bea7b3e
DefaultListableBeanFactory efficiently accesses current bean names and exposes them via getBeanNamesIterator()
...
Issue: SPR-12404
11 years ago
Juergen Hoeller
97ea43681b
Polishing
11 years ago