Juergen Hoeller
af65b1ca62
Polishing
5 years ago
Juergen Hoeller
e36a415994
Explain FactoryBean lifecycle management and destroy method handling
...
Closes gh-24948
5 years ago
Juergen Hoeller
401f9599ca
Caching of autowire candidate metadata for injection point matching
...
Closes gh-24904
5 years ago
Juergen Hoeller
0552102780
Enforce limit for storing suppressed exceptions
...
Closes gh-24902
5 years ago
liuhy365
3af54692fa
Fix parent bean factory self-reference issue.
...
If set parent bean factory to self, once try to get an undefined bean, bellow condition
if (parentBeanFactory != null && !containsBeanDefinition(beanName)) {
...
}
will always be true and StackOverflowError will be thrown.
Sometimes, this issue is hard to detect during runtime, if self-reference is not allowed here, error will be found at the early time of startup.
Also, a self-reference parent bean factory is valueless.
5 years ago
陈其苗
1e1ea34e87
Fix typo in Javadoc
...
See gh-24908
5 years ago
Sam Brannen
6c26765985
Document default constructor as fallback for non-@Autowired constructors
...
Prior to this commit, it was unclear in the documentation that a default
constructor will be used by default for autowiring if multiple
constructors are present and none of them is annotated with @Autowired .
This commit improves the documentation in this regard.
Closes gh-24838
5 years ago
Juergen Hoeller
a70ad0094f
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
5 years ago
Juergen Hoeller
151a18d691
Explicit notes on BeanFactory.getType vs bean class in bean definition
...
Closes gh-24816
5 years ago
陈其苗
13970ae528
Use autoboxing instead of explicit wrapping in tests
...
Closes gh-24801
5 years ago
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
5 years ago
Sam Brannen
53106d5741
Polishing
5 years ago
Qimiao Chen
821984a5cf
Remove unnecessary assignment in PropertiesBeanDefinitionReader
...
Closes gh-24804
5 years ago
Qimiao Chen
5d6139eb7a
Set initialValue of NamedThreadLocal in XmlBeanDefinitionReader
...
This commit overrides initialValue() of NamedThreadLocal to lazily initialize
the set used in XmlBeanDefinitionReader.
Closes gh-24800
5 years ago
Qimiao Chen
c77853b766
Remove unnecessary mem alloc in CollectingReaderEventListener
...
Closes gh-24799
5 years ago
Sam Brannen
3e9d51220d
Update spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java
5 years ago
陈其苗
072961b91a
Fix typo in BeanDefinitionParserDelegate
5 years ago
Tom van den Berge
107f88a7e4
Allow non-public Kotlin classes/ctors to be instantiated
...
Closes gh-24712
5 years ago
Sam Brannen
90268de9c0
Polish implementation of BeanDefinitionReaderUtils.generateBeanName()
...
Closes gh-24739
5 years ago
Qimiao Chen
201827cb0b
Fix exception message in getMergedBeanDefinition
...
Closes gh-24686
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
5 years ago
Christoph Dreis
2093e35f27
Avoid unnecessary sorting
5 years ago
Juergen Hoeller
c0fbf6fca1
Polishing
5 years ago
Rossen Stoyanchev
97ba00eff2
Use try-with-resource in XmlBeanDefinitionReader
...
Closes gh-24492
5 years ago
Qimiao Chen
acae174f8f
Fix javadoc in DependencyDescriptor
...
Closes gh-24551
5 years ago
ZhangT
6add7b4dec
Polishing
...
Closes gh-24543
5 years ago
Sam Brannen
51fa98a1b2
Apply compiler conventions to test fixtures
5 years ago
Juergen Hoeller
b23049bd27
Polishing
5 years ago
Juergen Hoeller
669a689a50
Prevent unnecessary refresh for InjectionMetadata.EMPTY
...
Closes gh-24485
5 years ago
Сергей Цыпанов
a36168c972
Produce less String-related garbage when generating bean names
...
Closes gh-24476
5 years ago
Johnny Lim
f01de79fe2
Polish
5 years ago
Сергей Цыпанов
64440a5f04
Some trivial improvements to reduce allocation pressure
...
Closes gh-24447
5 years ago
Sam Brannen
b34404916a
Update copyright date
5 years ago
Сергей Цыпанов
3adc7c3059
Hoist concatenation of two constant Strings out of loops
...
Closes gh-24388
5 years ago
stsypanov
8e5cad2af3
Add fast path for ClassUtils.hasMethod()
5 years ago
Sam Brannen
59ade91694
Use HTTPS in link
...
See gh-24268
5 years ago
Sam Brannen
c1d0060a6f
Recommend third-party alternatives in BeanUtils Javadoc
...
See gh-24268
5 years ago
Rossen Stoyanchev
510ef1ab2e
Polishing contribution
...
See gh-24287
5 years ago
KangZhiDong
f585eb0b79
Fix Javadoc typos
...
See gh-24287
5 years ago
Sam Brannen
57b771ba92
Move common FactoryMethods to spring-beans test fixtures
...
See gh-23550
5 years ago
Sam Brannen
94f8ef08e2
Move common TestPrincipal to spring-core test fixtures
...
See gh-23550
5 years ago
Sam Brannen
7cd4ddf5fc
Rename test fixture package in spring-beans
...
See gh-23550
5 years ago
Sam Brannen
4260c34b47
Rename test fixture package in spring-core
...
See gh-23550
5 years ago
Sam Brannen
61d4ee594d
Use Gradle test fixture support for spring-beans and spring-context
...
See gh-23550
5 years ago
Sam Brannen
5718bf424b
Use Gradle test fixture support for spring-core
...
See gh-23550
5 years ago
Juergen Hoeller
9af8dc0980
Polishing
5 years ago
Johnny Lim
8ac222467b
Short-circuit boolean logic in AbstractBeanDefinition.equals()
...
Closes gh-24185
5 years ago
stsypanov
484006ce90
Hoist Class.getName() from String concatenation to dodge an issue related to profile pollution
5 years ago
Juergen Hoeller
32e7adfa32
Polishing
5 years ago
Juergen Hoeller
91b557eb4b
Polishing
5 years ago
Sam Brannen
d9ebc3bbc4
Polish StringArrayPropertyEditor[Tests]
5 years ago