Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] After Advice and method result

Yes, it is, so it is good enough for logging, copying etc. But if you want to modify the result before passing it on to the caller you need to use an 'around' advice.
-- 
Alexander Kriegisch
http://scrum-master.de


> Am 16.09.2015 um 15:59 schrieb Rallavagu <rallavagu@xxxxxxxxx>:
> 
> All,
> 
> Looking for some help to understand and clear up the scope of "After" advice. I am under impression that "After" would help intercept method after target method is executed before the result is sent across to the client similar to "Before" advice where it would let intercept before the target method is executed. The way it is possible to access the payload of the method for "Before" advice, is it possible to intercept the result of the method in "After" advice?
> 
> Thanks
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top