Re: [aspectwerkz-user] AOP advice execution sequence

"Alexandre Vasseur" <[email protected]> Tue, 20 Nov 2007 18:23:04 +0100
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
no it runs in the same code path - as if you wrote it
this said it is easy to have your advice produce an async task that
will be consumed by some thread queue if you want
it is all up to you
Alex

On Nov 20, 2007 6:00 PM, akhilesh laddha <[email protected]> wrote:
>
> Hi All,
> I would like to get clarify my self about AOP advice execution sequence
> along with the application code. Does AOP advice execute in parallel with
> application methods for that cross cut defines?
>
> For example
> Application method - foo()  (for cross cut define)
> Takes execution time T1
> Advice =96 fooAdvice() takes t1 time
>
> If AOP advice runs sequentially with application code then additional
> performance hit because of advice code execution.
>
> Total time will be =96 T1 +t1
>
> From my understanding it runs in parallel therefore it takes time equal t=
o
> whichever is higher for ex =96 T1
>
> Please correct my understanding
>
> Thanks
> Akhilesh
>
>
>
>  ________________________________
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try =
it
> now.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email