spring
2020-09-10 18:48:57 0 举报
spring1
作者其他创作
大纲/内容
RuntimeBeanreference
beanName
getBeanName()
ClassPathXmlApplicationContext
依赖
解析xml文件,调用registerBeanDefinition方法
FileSystemResource
继承
实现
DefaultSingletonBeanRegistry
Resource(interface)
getInputstreamgetdescription
FileSystemXmlApplicationContex
AbstractApplicationContext(Abstract)
(Abstract)getResourceByPath()
含有
SingletonBeanRegistry(interface)
registerSingletongetSingleton
ClassPathResource
PropertyValue
namevalue
getNamegetValuegetConvertedValue
ValueHolder
value
TypedstringValue
Value
getValue()
ApplicationContext(interface)
BeanDefinitionRegistry(interface)
registerBeanDefinitiongetBeanDefinition
BeanFactory(interface)
getBean
ConstructorArgument
argumentValues:List<ValueHolder>
addargumentValuegetargumentValue
BeanDefinition(interface)
getPropertyValuesgetBeanClassName
GenericBeanDefinition
XMLBeanDefinitionReader
BeanDefinitionRegistry registry
ConfigurableBeanFactory(interface)
setBeanClassLoad getBeanClassLoad
DeafaultBeanFactory
调用
0 条评论
下一页