Spring aop 源码分析
2019-04-07 22:14:56 69 举报
Spring aop
作者其他创作
大纲/内容
instantiateBean
创建代理对象
sortAdvisors
ProxyFactory
JdkDynamicAopProxy
ReflectiveMethodInvocation
createProxy
ProxyCreatorSupport
MethodBeforeAdviceInterceptor
applyBeanPostProcessorsBeforeInitialization
返回代理对象
postProcessAfterInitialization
invoke
proceed
AbstractAutoProxyCreator
AbstractAutowireCapableBeanFactory
AfterReturningAdviceInterceptor
getProxy
调用
getInterceptorsAndDynamicInterceptionAdvice
返回AopProxy默认使用JdkDynamicAopProxy
通知
getAdvicesAndAdvisorsForBean找到所有通知点
invokeJoinpointUsingReflection
AbstractAdvisorAutoProxyCreator
createAopProxy
findEligibleAdvisors
AdvisedSupport
wrapIfNecessary
OrderComparator
doCompare
DefaultAopProxyFactory
MethodInterceptor
AopUtils
0 条评论
下一页