public Object aop(Method method,Object object) { try { try { /*doAround start*/ doBefore(); method.invoke(object); /*doAround end*/ } finally { doAfter(); } doAfterReturning(); } catch (Exception e) { doAfterThrowing(); } }
原文地址:https://www.cnblogs.com/shoubianxingchen/p/12546858.html
时间: 2024-10-17 05:19:48