-
Mar 11th, 2013, 02:15 AM
#1
Conditional AOP
Hello,
I would like to enable or disable the execution based on a boolean.
Is there a way to disable the execution of an advise based on a boolean flag?
Something like this -
@Around("enabled && methodPointcuts()") where enabled is a boolean flag?
Or atleast way to disable the weaving based on some flag passed from application context?
Thanks & Regards
Surya
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