|
|
I hope you can help from developer to developer . I need to implement an Audit mechanism using AOP, this mechanism MUST :
1) Register which operations on the app the user is trying to access.
2) Register if the operations have been commited successfully.
That's all, I think must be something somewhere out there, just to not start form scratch. Could you plz help me?
Does Spring include something like a AuditInterceptor?
Thanks in advanced.
You could do this with around advice, or after returning and after throwing.
docs/...fter-returning
That will help me for sure.
Is There any difference between implementing an around advisor and implementing before+after advisors?
You can really do the same thing either way, so there's not really a difference. |
|