开发者

Accessing method arguments in Spring.net AOP advice

开发者 https://www.devze.com 2023-03-22 00:34 出处:网络
I am attempting my first implementation of IAfterReturningAdvice and am wondering how I access the values of the method or if that is eve开发者_运维百科n possible? It makes sense that I may have to us

I am attempting my first implementation of IAfterReturningAdvice and am wondering how I access the values of the method or if that is eve开发者_运维百科n possible? It makes sense that I may have to use around advice to acheive this since I don't have access to the IMethodInvocation.

Thanks in advance.


Just in case someone reads this post later and needs an answer. The answer is that the args[] array contains the arguments passed into the intercepted method.

0

精彩评论

暂无评论...
验证码 换一张
取 消