-
Mar 14th, 2013, 06:12 AM
#1
piintcut inside method
Hello,
we are trying to adopt spring to our project now, we were going through the AOP and trying to use it for auditing , AOP supports to call a method before or after or after returning etc. calling a actual method.
since we want to audit the flow it may require to update message in the audit log in between the method which is created at run time.
Is there a way to introduce point cut in side a method and update the messages created at run time.
hope I explained my concern clearly, can any body help me out here.
Thanks
-
Mar 14th, 2013, 10:29 AM
#2
No there isn't... You cannot create a pointcut that operates halfway a method. (I suggest AspectJ in Action 2nd edition which is a great book).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules