Juergen Hoeller
fa0ef2d87e
BeanFactory accepts getBean arguments for non-prototype beans as well
...
Issue: SPR-12488
10 years ago
Juergen Hoeller
9a71a0c6c9
YamlProcessor defensively closes InputStream
...
Issue: SPR-12487
10 years ago
Juergen Hoeller
efb114d49a
Polishing
10 years ago
Juergen Hoeller
bfbd25a0e9
BeanWrapper auto-growing support for EnumSet / EnumMap
...
Issue: SPR-12483
10 years ago
Juergen Hoeller
e6d7af4ea8
Polishing
10 years ago
Juergen Hoeller
eacd4a181f
ExtendedBeanInfo ignores invalid bean properties (analogous to the JavaBeans Introspector)
...
Issue: SPR-12434
10 years ago
Juergen Hoeller
feb91e8366
NotReadablePropertyException accepts root cause (analogous to NotWritablePropertyException)
...
Issue: SPR-12467
10 years ago
Juergen Hoeller
afc77ff525
AnnotationBeanPostProcessors defensively catch and translate NoClassDefFoundErrors from class introspection
...
Issue: SPR-12461
10 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
10 years ago
Juergen Hoeller
3c3e07e324
Defensive handling of manually registered singleton names (based on Spring Integration test failure)
...
Issue: SPR-12404
10 years ago
Juergen Hoeller
965bea7b3e
DefaultListableBeanFactory efficiently accesses current bean names and exposes them via getBeanNamesIterator()
...
Issue: SPR-12404
10 years ago
Juergen Hoeller
97ea43681b
Polishing
10 years ago
Juergen Hoeller
01382b8ff0
BeanDefinitionValueResolver preserves original String array if possible and resolves nested String arrays as well
...
Issue: SPR-12391
10 years ago
Juergen Hoeller
7d2231541b
Unit tests for java.util.Optional with autowired collections on @Autowired fields/methods and @Bean method parameters
...
Issue: SPR-9132
10 years ago
Stephane Nicoll
8e5c77dc11
Explicit support of String[] value resolution
...
This commit adds an explicit support for String array for value
resolution. <util:properties> switches the 'locations' property to a
String array in 662d8aa
and this broke expression evaluation.
Issue: SPR-12391
10 years ago
Juergen Hoeller
db2601d6e2
AbstractBeanFactory logs bean creation exception on FactoryBean type check at warn level
...
Issue: SPR-12397
10 years ago
Juergen Hoeller
1e9ab53095
CharacterEditor uses Character.valueOf(char) and throws a more descriptive exception
...
Issue: SPR-12386
10 years ago
Juergen Hoeller
4945cf1bd1
Optimized parameter length comparisons for constructor/method sorting
...
Issue: SPR-12385
10 years ago
Juergen Hoeller
a13bb69cbe
PropertyValue declares its cache fields as transient
...
Issue: SPR-12377
10 years ago
Juergen Hoeller
9243869763
Test for <util:map> with LinkedCaseInsensitiveMap and specified key/value types
...
Issue: SPR-10994
10 years ago
Seo, Kyung-Seok
1708a8a10d
Remove unnecessary null check
...
Issue: SPR-12378
10 years ago
Juergen Hoeller
73ce3b514b
QualifierAnnotationAutowireCandidateResolver calls BeanFactory.getType defensively
...
Issue: SPR-12191
10 years ago
Juergen Hoeller
ad62b2afb1
Consistent throwing of BeanInstantiationException for factory methods, including a hint about circular references
...
Issue: SPR-12317
10 years ago
Min Ho Pak
2e5d752e15
Better use of key iterator
...
This commit uses an EntrySet instead of looping over the keys and
retrieving the value in a separate call.
Issue: SPR-12356
10 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
10 years ago
Juergen Hoeller
77a62ec8b8
Polishing
10 years ago
Stephane Nicoll
859e1e8003
Check for duplicate keys in YAML map nodes
...
Snake YAML allows for duplicate keys in map nodes. See
https://code.google.com/p/snakeyaml/issues/detail?id=199
This commit uses a dedicated Constructor extension that explicitly
checks for such duplicate keys.
Issue: SPR-12318
10 years ago
Juergen Hoeller
9d832816a8
Further locking optimizations for the retrieval of non-singleton beans
...
Issue: SPR-12250
10 years ago
Juergen Hoeller
f46c706e44
Bean method metadata exposed through AnnotatedBeanDefinition
...
Issue: SPR-12232
10 years ago
Juergen Hoeller
cfc821d179
DataBinder unwraps Optional objects and allows for proper handling of Optional.empty()
...
Issue: SPR-12241
10 years ago
Juergen Hoeller
070642c148
Introduced addScope convenience method on CustomScopeConfigurer (for use in WebSocket configuration)
10 years ago
Juergen Hoeller
5ecdd8ca31
Consistent Environment access in XML bean definition parsing code
...
Issue: SPR-12248
10 years ago
Juergen Hoeller
0934751d7a
BeanWrapper supports traversal of nested paths with Java 8 Optional declarations
...
Issue: SPR-12241
10 years ago
Juergen Hoeller
a80495b47d
Avoid use of fragile Swing classes in tests (for compatibility with JDK 8u40)
...
Issue: SPR-12235
10 years ago
Juergen Hoeller
354c3e03e9
Refined exclusion of bridge methods in annotation post-processors (for Java 8 compatibility)
...
Issue: SPR-12187
(cherry picked from commit 29abca5
)
10 years ago
Juergen Hoeller
f4219ca06b
Consistent exclusion of bridge methods in annotation post-processors (for Java 8 compatibility)
...
Issue: SPR-12187
10 years ago
Juergen Hoeller
0cf472b111
BeanDefinitionParserDelegate does not silently ignore 1.x 'singleton' attribute
...
Issue: SPR-12167
10 years ago
Juergen Hoeller
80cec011b7
Log warning for single optional constructor when no default constructor to fall back to
...
Issue: SPR-12161
10 years ago
Juergen Hoeller
d1c720c07b
GenericTypeAwarePropertyDescriptor implements equals/hashCode for proper lookups on IBM JVM 6
...
Issue: SPR-12185
10 years ago
Juergen Hoeller
5cd59d044e
GenericTypeAwarePropertyDescriptor implements equals/hashCode for proper lookups on IBM JVM 6
...
Issue: SPR-12185
10 years ago
Juergen Hoeller
7387475deb
Polishing
10 years ago
Juergen Hoeller
c52484ed68
CachedIntrospectionResults uses ConcurrentReferenceHashMap for its type descriptor cache
...
Issue: SPR-12185
10 years ago
Juergen Hoeller
c8bbd0bae4
Polishing
10 years ago
Juergen Hoeller
20c2ba35dc
Polishing
10 years ago
Juergen Hoeller
c6d29f1a31
Refactored support for @Order on @Bean methods as well as @Priority handling
...
Issue: SPR-11310
Issue: SPR-10548
10 years ago
Juergen Hoeller
4432c41dbd
AbstractAutowireCapableBeanFactory avoids early FactoryBean instantiation on currently created configuration bean
...
Issue: SPR-12141
10 years ago
Juergen Hoeller
cfd01ab100
ExtendedBeanInfo uses explicit hashCode calculation (as defensive measure against JDK PropertyDescriptor changes)
10 years ago
Juergen Hoeller
8c9274e017
LazyInitTargetSource works for @Bean targets as well
...
Issue: SPR-10508
Issue: SPR-8080
10 years ago
Juergen Hoeller
b64f680f19
AbstractAutowireCapableBeanFactory calls postProcessBeforeInstantiation with fully resolved target type
...
Issue: SPR-12140
Issue: SPR-12142
10 years ago
Juergen Hoeller
60e58a2012
Polishing
10 years ago