Documentation: AbstractBeanDefinition.getBeanClass() vs BeanFactory.getType #24816
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
Affects: all version
I try to know the beanClass of
BeanDefinition
, however, I found some subClass of BeanDefinition has nobeanClass
.Such as
ConfigurationClassBeanDefinition
inConfigurationClassBeanDefinitionReader
, whenConfigurationClassPostProcessor
parse@Bean
method to aBeanDefinition
(ConfigurationClassBeanDefinition
), whosebeanClass
field is null.So far as I know,
beanClass
stand for it'sbean
type.I wan to know why
beanClass
inBeanDefinition
can be null, and how I get it'sbean
type from some of it's subClass.The text was updated successfully, but these errors were encountered: