public Object aop(Method method,Object object) { try { try { /*doAround start*/ doBefore(); method.invoke(object); /*doAround end*/ } finally { doAfter(); } doAfterReturning(); } catch (Exception e) { doAfterThrowing(); } }
Powered by: 博客园 Copyright © 2024 手边星辰 Powered by .NET 8.0 on Kubernetes