Spring 时序图
2022-01-19 11:24:25 39 举报
spring ioc aop 时序图
作者其他创作
大纲/内容
obtainFreshBeanFactory()
instantiate()
creatBean()
实例化
invoke
populateBean()
AbstractApplicationContext
DefaultBeanDefinitionDocumentReader
registerBeanDefinitions()
setValue()
AbstractXmlApplicationContext
createBeanInstance()
postProcessAfterInitialization
SimpleInstantiationStrategy
定位资源
注册
BeanDefinitionReaderUtils
parseBeanDefinitionElement()
setPropertyValues()
ProxyFactory
返回具体的proxyFactory
doGetBean()
BeanDefinitionRegistry
ReflectiveMethodInvocation
AopUtils
MethodBeforeAdviceInterceptor
AbstractAutoProxyCreator
调用
AbstractPropertyAccessor
applyBeanPostProcessorsBeforeInitialization
BeanFactory
DefaultAopProxyFactory
ClassPathXmlApplicationContext构造方法
ProxyCreatorSupport
AbstractAutowireCapableBeanFactory
依赖注入
registerBeanDefinition()
getProxy
JdkDynamicAopProxy
applyPropertyValues()
processLocalProperty()
findEligibleAdvisors
initializeBean
AbstractNestablePropertyAccessor
通知
createProxy
XmlBeanDefinitionReader
加载
sort
getAdvicesAndAdvisorsForBean
Spring AOP时序图
AbstractBeanFactory
doLoadBeanDefinitions()
AfterReturningAdviceInterceptor
BeanDefinitionParserDelegate
AbstarctAutowireCapableBeanFactory
getInterceptorsAndDynamicInterceptionAdvice
createAopProxy
doCompare
resolveValueIfNecessary()
getBean()
ClassPathXmlApplicationContext
loadBeanDefinitions(beanFactory)
Spring IOC时序图
OrderComparator
AdvisedSupport
Spring DI时序图
BeanDefinitionValueResolver
doGetBean()
invokeJoinpointUsingReflection
setConfigLocations(configLocations)
AbstractAdvisorAutoProxyCreator
BeanWrapperImpl
proceed
AbstractRefreshableConfigApplicationContext
refreshBeanFactory()
refresh()
wrapIfNecessary
instantiateBean()
processKeyedProperty()
创建代理对象
setPropertyValue()
0 条评论
下一页