AOP aspectj之通知执行顺序

try{
    
    
    try{
    
    
        //@Before
        method.invoke(..);
    }finally{
    
    
        //@After
    }
    //@AfterReturning
}catch(){
    
    
    //@AfterThrowing
}

执行顺序如此代码块一致,供本人记忆,后续待补充…

猜你喜欢

转载自blog.csdn.net/m0_46364149/article/details/122835240