Re: [aspectwerkz-user] AOP advice execution sequence

Tahir Akhtar <[email protected]> Wed, 21 Nov 2007 17:41:04 +0500
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think there is nothing AOP-specific to it. Just launch your task in a
separate thread using standard java threading techniques. <br>
<br>
Regards<br>
Tahir Akhtar<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> wrote:
<blockquote
 cite="mid:[email protected]"
 type="cite"><br>
  <hr size="4" width="90%"><br>
  <table class="header-part1" border="0" cellpadding="0" cellspacing="0"
 width="100%">
    <tbody>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Subject:
        </div>
RE: [aspectwerkz-user] AOP advice execution sequence</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">From: </div>
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a></td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">Date: </div>
Wed, 21 Nov 2007 17:27:22 +0530</td>
      </tr>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">To: </div>
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a></td>
      </tr>
    </tbody>
  </table>
  <table class="header-part2" border="0" cellpadding="0" cellspacing="0"
 width="100%">
    <tbody>
      <tr>
        <td>
        <div class="headerdisplayname" style="display: inline;">To: </div>
<a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a></td>
      </tr>
    </tbody>
  </table>
  <br>
  <pre wrap="">Hi,
 
How to implement asynchronous aspect ?
Can we get any sample if available.
 
Any help is appreciated.
 

Thanks and Regards,
Lalithamba.

________________________________

From: Alexandre Vasseur [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>]
Sent: Tue 20-Nov-07 10:53 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Subject: Re: [aspectwerkz-user] AOP advice execution sequence



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 <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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 - 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 - T1 +t1

From my understanding it runs in parallel therefore it takes time equal to
whichever is higher for ex - T1

Please correct my understanding

Thanks
Akhilesh



 ________________________________
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
now.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
---------------------------------------------------------------------
To unsubscribe from this list please visit:

    <a class="moz-txt-link-freetext" href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>



  </pre>
  <pre wrap="">
<hr size="4" width="90%">

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
<a class="moz-txt-link-abbreviated" href="http://www.wipro.com">www.wipro.com</a>
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
---------------------------------------------------------------------
To unsubscribe from this list please visit:

    <a class="moz-txt-link-freetext" href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a></pre>
</blockquote>
<br>
</body>
</html>

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

    http://xircles.codehaus.org/manage_email