Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
2018-02-16 19:48:43 +01:00
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
2018-02-14 16:38:28 +01:00
Juergen Hoeller
0030ff8711
Polishing
2018-02-13 14:20:07 +01:00
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
2018-02-12 13:45:53 +01:00
Juergen Hoeller
14440949b3
Test with all-negated profile condition
...
Issue: SPR-16465
(cherry picked from commit 285b01f )
2018-02-12 13:44:24 +01:00
Juergen Hoeller
05dec6d23e
Consistent use of @throws instead of @exception
...
(cherry picked from commit 5c813a3 )
2018-02-12 13:44:17 +01:00
Juergen Hoeller
65743a68e6
Deep BeanCurrentlyInCreationException check in getTypeForFactoryBean
...
Issue: SPR-16427
(cherry picked from commit 7772b91 )
2018-02-12 13:40:38 +01:00
Juergen Hoeller
8b5a013423
Polishing
2018-01-19 19:35:02 +01:00
Juergen Hoeller
d7959edb3e
Improve performance of some string operations
...
Issue: SPR-16293
2018-01-19 19:05:07 +01:00
Juergen Hoeller
092b3d4a52
Warning instead of error for non-present type filter class
...
Issue: SPR-16356
(cherry picked from commit 4adc820 )
2018-01-19 18:41:18 +01:00
Juergen Hoeller
6f6ff33202
Consider enum subclasses as simple value types as well
...
Issue: SPR-16278
(cherry picked from commit d3e0f4d )
2018-01-19 18:37:30 +01:00
Juergen Hoeller
4bb837582e
Support for static field access on non-public enums
...
Issue: SPR-16284
(cherry picked from commit 9beb978 )
2018-01-19 18:37:11 +01:00
Juergen Hoeller
1d060ecff0
Document common use cases for @Order vs @Priority vs @DependsOn
...
Issue: SPR-16213
(cherry picked from commit 84699c8 )
2017-11-20 13:33:23 +01:00
Juergen Hoeller
5800c7a18a
Comprehensive documentation on injection point matching
...
Issue: SPR-16142
(cherry picked from commit a5da05c )
2017-11-14 12:27:21 +01:00
Juergen Hoeller
03be8095ca
Consistent handling of null array for arguments
...
Issue: SPR-16075
(cherry picked from commit c29b6f5 )
2017-10-16 19:58:49 +02:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
17f42fc97a
Polishing
2017-09-08 19:42:32 +02:00
Juergen Hoeller
c752ba5b38
Polishing
2017-07-19 23:55:47 +02:00
Juergen Hoeller
c9ffa64140
DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
...
Issue: SPR-15766
2017-07-13 13:02:29 +02:00
Juergen Hoeller
092b5f7556
Clarified role of postProcessAfterInstantiation
...
Issue: SPR-15732
2017-07-05 11:23:34 +02:00
Juergen Hoeller
501891c749
FactoryBean object cache cleared on shutdown
...
Issue: SPR-15722
(cherry picked from commit 6534359 )
2017-06-30 21:01:09 +02:00
Juergen Hoeller
1332482c40
Polishing
2017-05-04 14:09:15 +02:00
Juergen Hoeller
beac891ff0
Honor @Autowired(required=false) at parameter level
...
Issue: SPR-15268
(cherry picked from commit d74542e )
2017-05-04 14:07:07 +02:00
stonio
1db42081e5
Use String#isEmpty()
...
Closes gh-1335
(cherry picked from commit 7d062df )
2017-02-22 16:31:35 +01:00
Juergen Hoeller
dfa8a7c358
Polishing
2017-02-16 15:57:52 +01:00
Juergen Hoeller
b0ef80c3ff
Polishing
2017-02-16 14:20:40 +01:00
Stephane Nicoll
4f52174674
Update copyright header
...
Closes gh-1327
2017-02-14 10:41:03 +01:00
hengyunabc
7d7c5c9d9c
Fix typo
...
See gh-1327
2017-02-14 10:40:51 +01:00
Juergen Hoeller
da7d79b3a1
Test for ObjectFactory injection at constructor level
...
Issue: SPR-15222
(cherry picked from commit 65d8d69 )
2017-02-10 11:46:32 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Juergen Hoeller
3304efd64d
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Deprecating GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
(cherry picked from commit 5e946c2 )
2017-01-24 19:31:41 +01:00
Juergen Hoeller
e2d06eaae5
Deprecate outdated abstractions/delegates in core/util
...
Issue: SPR-15159
2017-01-23 23:47:14 +01:00
Juergen Hoeller
f79baec5ff
Polishing
...
(cherry picked from commit 46fc7fb )
2017-01-16 23:14:12 +01:00
Juergen Hoeller
24ebd15f9c
Introspect FactoryBean class declaration if no early instantiation possible
...
Issue: SPR-15125
(cherry picked from commit 32fc855 )
2017-01-16 22:43:18 +01:00
Juergen Hoeller
5afc3a3a50
Map resolution for multiple beans applies to plain Map interface declaration only
...
Issue: SPR-15117
(cherry picked from commit 8084da5 )
2017-01-12 22:50:04 +01:00
Juergen Hoeller
2f2ef00d1f
BeanDefinitionBuilder supports factory method on factory bean
...
Issue: SPR-15098
(cherry picked from commit 9e6aa0f )
2017-01-12 22:49:44 +01:00
Juergen Hoeller
8fc65ab0a5
Clarified setAutowireCandidate semantics (plus attribute reordering in BeanDefinition)
...
Issue: SPR-15072
(cherry picked from commit e8a082f )
2016-12-30 11:55:55 +01:00
Juergen Hoeller
26a4aef417
Polishing
...
(cherry picked from commit fc629bb )
2016-12-29 23:12:11 +01:00
Juergen Hoeller
fd21e0e69a
@Scheduled reliably applies after other post-processors and shuts down before TaskScheduler
...
Issue: SPR-14692
Issue: SPR-15067
(cherry picked from commit edc62be )
2016-12-29 23:12:00 +01:00
Juergen Hoeller
d44bc27c9a
Avoid FactoryBean initialization on isSingleton check for decorated bean definition
...
Issue: SPR-14892
Issue: SPR-15042
(cherry picked from commit 209e7a7 )
2016-12-28 23:20:15 +01:00
Juergen Hoeller
d77ab67c56
AbstractNestablePropertyAccessor's setPropertyValue refactored into several delegate methods
...
Issue: SPR-15053
(cherry picked from commit 64d6561 )
2016-12-27 18:31:05 +01:00
Juergen Hoeller
9a39a25bb5
Detect generic type match behind interface-based proxy as well
...
Issue: SPR-14097
(cherry picked from commit f805427 )
2016-12-26 11:40:40 +01:00
Juergen Hoeller
28e114b569
Clarify programmatic contract (no annotation-driven injection)
...
Issue: SPR-8704
(cherry picked from commit fd41f63 )
2016-12-26 11:40:25 +01:00
Juergen Hoeller
8662c61a17
Polishing
...
(cherry picked from commit 154ef8b )
2016-12-20 20:14:25 +01:00
Juergen Hoeller
b9c4f1fa95
ResolvableType-based matching respects generic factory method return type
...
Includes consistent use of ResolvableType.resolve() wherever applicable.
Issue: SPR-15011
(cherry picked from commit 4c005e6 )
2016-12-19 01:12:14 +01:00
Juergen Hoeller
934fffec68
AutowiredAnnotationBeanPostProcessor tolerates annotated no-arg constructors
...
Issue: SPR-15005
(cherry picked from commit 8b5ee4e )
2016-12-19 01:01:59 +01:00
Juergen Hoeller
4571975414
Collection injection may refer back to factory methods on same bean again
...
Issue: SPR-14996
(cherry picked from commit 547b963 )
2016-12-19 01:01:16 +01:00
Juergen Hoeller
5fee5f39ea
Polishing
2016-12-01 14:13:23 +01:00
Juergen Hoeller
7ac9f92bc2
Various DefaultListableBeanFactory clarifications
...
* getBeanDefinitionNames defensively returns a copy of the bean definition names array.
* copyConfigurationFrom provides an independent AutowireCandidateResolver instance and copies a ConversionService and dependency comparator configuration as well.
* findAutowireCandidates only considers a self reference fallback for direct dependency declarations, not as a collection element.
Issue: SPR-14897
Issue: SPR-14921
Issue: SPR-14965
(cherry picked from commit ac5933a )
2016-12-01 14:11:08 +01:00