Juergen Hoeller
c5b318a4cc
Revised 4.3 signatures for MethodParameter/DependencyDescriptor
...
Issue: SPR-13440
9 years ago
Sam Brannen
799736c571
Fix typos in Javadoc for AutowireCapableBeanFactory
9 years ago
Juergen Hoeller
a905412514
Allow @Autowired to be declared on parameters
...
Issue: SPR-14057
9 years ago
Juergen Hoeller
431ca9314a
Leniently allow constructor argument matches if required name is not resolvable
...
Issue: SPR-13987
9 years ago
Juergen Hoeller
a95bf6e0fc
Current InjectionPoint/DependencyDescriptor as factory method argument
...
Issue: SPR-14033
9 years ago
Juergen Hoeller
b944283354
ConstructorResolver exposes parameter signature from user-declared class (in case of a CGLIB-generated subclass)
...
Issue: SPR-14015
9 years ago
Juergen Hoeller
b6f69492a3
NoUniqueBeanDefinitionException exposes beanNamesFound collection
...
Issue: SPR-13968
9 years ago
Juergen Hoeller
8a83af55b8
Consistent resolution of factory method exceptions
...
Issue: SPR-13985
9 years ago
Juergen Hoeller
b6dd8a9233
Consistent UnsatisfiedDependencyException exposure with injection point metadata
...
Issue: SPR-13968
9 years ago
Juergen Hoeller
ed98393fb2
SmartObjectFactory renamed to ObjectProvider (extends ObjectFactory)
...
Issue: SPR-13943
Issue: SPR-13956
9 years ago
Stephane Nicoll
a94ffbb17a
Fix typo
9 years ago
Juergen Hoeller
a7ad49adcf
Placeholder configurers allow for trimming of property values
...
Issue: SPR-5839
9 years ago
Juergen Hoeller
890819f886
SmartObjectFactory provides getObject(args) variant as well
...
Issue: SPR-13956
9 years ago
Juergen Hoeller
48ee9b52d4
Consistent check for Collection/Map beans
...
Issue: SPR-13963
9 years ago
Juergen Hoeller
1b53edfc5e
DefaultListableBeanFactory skips fallback match attempt for Collection/Map beans
...
Issue: SPR-13963
9 years ago
Juergen Hoeller
ea4a766df7
Consistent support for SpEL next to placeholders in annotation attributes
...
Issue: SPR-13625
9 years ago
Juergen Hoeller
343bb2f130
Support for SmartObjectFactory injection points with programmatic optionality and lenient not-unique handling
...
Issue: SPR-13943
9 years ago
Juergen Hoeller
903ae48382
DisposableBeanAdapter ignores bridge method conflicts
...
Issue: SPR-13922
9 years ago
Sam Brannen
81f68463ec
Clean up warnings in Gradle build
9 years ago
Sam Brannen
3cf5cfd672
Fix Javadoc
9 years ago
Juergen Hoeller
4a0fa69ce4
Injection support for Collection/Map beans and self references
...
Issue: SPR-13585
Issue: SPR-12180
Issue: SPR-7915
Issue: SPR-8450
9 years ago
Juergen Hoeller
c95dfca726
Log profile-based exclusion of XML bean definition file
...
Issue: SPR-10202
9 years ago
Stephane Nicoll
0d04af14f8
Refine test
...
Issue: SPR-13837
9 years ago
Stephane Nicoll
9b9df6a744
Add test
...
Issue: SPR-13837
9 years ago
Juergen Hoeller
773d175681
Polishing
9 years ago
Juergen Hoeller
04f31816bd
Avoid getTypeForFactoryBean warn logging for lazy-init beans
...
Issue: SPR-13833
9 years ago
Juergen Hoeller
4f955932a7
@Value can be used as aliased meta-annotation
...
Issue: SPR-13603
9 years ago
Juergen Hoeller
1d8a3e1f07
BeanFactoryAnnotationUtils searches on bean implementation classes and meta-annotations as well
...
Issue: SPR-13819
Issue: SPR-13452
9 years ago
Juergen Hoeller
bb3ff25cad
Polishing
9 years ago
Juergen Hoeller
b28310d0b9
Polishing
9 years ago
Juergen Hoeller
cad2ce0ac2
ConstructorResolver always uses arguments when completely provided
...
Issue: SPR-13808
9 years ago
Juergen Hoeller
fca5365cf1
Avoid scoped destruction callbacks in case of no post-processor actually applying
...
Issue: SPR-13744
9 years ago
Juergen Hoeller
967ef73765
Detect @Autowired constructors for configuration classes
...
Issue: SPR-13471
9 years ago
Stephane Nicoll
9e7c791a0f
Automatically autowire a bean with one constructor
...
Previously, if a managed bean had only one non-default constructor, we
should still annotate it with `@Autowired` to properly use constructor
injection. Not doing so resulted in an error as the container was
trying to call the default (non-existing) constructor.
This commit updates this behaviour to automatically applyed the
autowiring semantic to any bean that has only one constructor. As
before, if more than one constructor is defined, `@Autowired` must be
specified to teach the container the constructor it has to use.
Issue: SPR-12278
9 years ago
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
9 years ago
Stephane Nicoll
752d3c715a
Initiate structure for 4.3 XSDs
9 years ago
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
9 years ago
Juergen Hoeller
08b6daf1eb
Polishing
9 years ago
Juergen Hoeller
7589c1f164
Aligned class name quoting with ConversionFailedException
9 years ago
Juergen Hoeller
b70af3bf57
Polishing
9 years ago
Juergen Hoeller
998da2f45c
Document destruction callback behavior for inner beans in case of scope mismatch
...
This commit undoes the previous refinement and rather documents the original behavior.
Issue: SPR-13739
9 years ago
Juergen Hoeller
8ed2c470be
Avoid instantiation of non-selected beans in BeanFactoryAnnotationUtils.qualifiedBeanOfType
...
Issue: SPR-13741
9 years ago
Juergen Hoeller
7104076e19
Avoid Scope.registerDestructionCallback for inner beans in case of scope mismatch
...
This commit refines getMergedBeanDefinition's scope adaptation algorithm for inner beans, never leaving a custom scope within a containing bean of a different scope. The inner bean's scope will either be aligned with the containing bean's scope (matching the effective state) or be switched to prototype in case of an outer singleton (indicating that no singleton state management is desired).
Issue: SPR-13739
9 years ago
Juergen Hoeller
24e4f56d7e
Test case for event listener methods on bean with potentially inactive scope
...
Also taking the opportunity to refine the "No Scope registered" exception message a bit.
Issue: SPR-13681
9 years ago
Juergen Hoeller
20a286b4d6
ASM ClassWriter uses application ClassLoader for its getCommonSuperClass check
...
Issue: SPR-13695
9 years ago
Juergen Hoeller
98be36a306
Extended default collection size for common per-bean caches
...
Issue: SPR-13621
9 years ago
Johnny Lim
2defb6555e
Fix broken Javadoc related to `<` and `>`
9 years ago
Juergen Hoeller
2bf8c0bc42
Polishing
9 years ago
Juergen Hoeller
2ba5cb2734
Polishing
9 years ago
Juergen Hoeller
e35855f9b5
Avoid expensive annotation retrieval algorithm if no annotations present in the first place
...
Issue: SPR-13621
9 years ago