aop流程
2021-05-06 15:19:10 5 举报
为你推荐
查看更多
aop流程
作者其他创作
大纲/内容
getAdvisors
是否为切面类
resolveBeforeInstantiation
AbstractAspectJAdvisorFactory.findAspectJAnnotationOnMethod(candidateAdviceMethod);
构建增强器
AtAfter
事务源码
AbstractAutoProxyCreator.postProcessBeforeInstantiation
instantiateAdvice
postProcessBeforeInstantiation
AtPointcut
findCandidateAdvisors
super.findCandidateAdvisors
advisorNames.length == 0)
AtAround
BeanFactoryUtils.beanNamesForTypeIncludingAncestors
0
findAdvisorBeans
findEligibleAdvisors
getAdvicesAndAdvisorsForBean
getAdvice
@EnabledAutoProxy注解导入的类
isAspect
AtAfterThrowing
getAdvisor
createBean
switch (aspectJAnnotation.getAnnotationType())
AtAfterReturning
new InstantiationModelAwarePointcutAdvisorImpl
applyBeanPostProcessorsBeforeInstantiation
return AspectJMethodBeforeAdvice
buildAspectJAdvisors
返回一个代理对象,如果bean还没有创建完成,则加载一些切面信息
AtBefore
0 条评论
回复 删除
下一页