[aspectwerkz-user] Pre-advise results in recursion
"Haimov, Gilad" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonas, With your kind help, we have introduced pre-advise handlers to our system, with which we automate our auditing. However, the audit method internally loops-back and activates some of those 'aspected' services, resulting in an infinite loop. Is there a way (XML flag?) to suppress entering of those services when called from within an executing aspect ! That is: if a service is called (directly or indirectly) by an aspect - do not perform its own pre-advise if a service is called by anything other than an aspect - perform its pre-advise. As always - thanks in advance for your assistance, Gilad Haimov R&D, Application Servers, Gateways and Infrastructure [email protected] voice: 972-3-7664678 bmcsoftware Visit: www.bmc.com