[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] "Re: Contents of aspectj-dev digest..."

Hi,
My AbstractStartRequestAspect doesn't have anything complex. It has
couple of sop's and it finds the elapsed time of current joinpoint.

I do have one more small requirement. My pointcuts will be dynamic
(based on what the user selects). Do I need to compile my aspects every
time I change my pointcut ? or can I control it in aop.xml ?

-----Original Message-----
From: aspectj-dev-bounces@xxxxxxxxxxx
[mailto:aspectj-dev-bounces@xxxxxxxxxxx] On Behalf Of
aspectj-dev-request@xxxxxxxxxxx
Sent: Monday, April 30, 2007 9:30 PM
To: aspectj-dev@xxxxxxxxxxx
Subject: aspectj-dev Digest, Vol 26, Issue 4

Send aspectj-dev mailing list submissions to
	aspectj-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/aspectj-dev
or, via email, send a message with subject or body 'help' to
	aspectj-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	aspectj-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of aspectj-dev digest..."


Today's Topics:

   1. RE: Concrete Aspect Not working (Matthew Webster)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Apr 2007 10:54:06 +0100
From: Matthew Webster <matthew_webster@xxxxxxxxxx>
Subject: RE: [aspectj-dev] Concrete Aspect Not working
To: AspectJ developer discussions <aspectj-dev@xxxxxxxxxxx>
Message-ID:
	
<OFEE6A1F79.59A32F5C-ON802572CD.00364ADE-802572CD.00366413@xxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Ron,

>There are a few limitations in concrete aspects in AspectJ (e.g., they 
don?t themselves get woven), but so far I?ve found that there are 
workarounds available. 
What about Bug 132080 "LTW concrete-aspect definitions not exposed to 
weaver"?

Matthew Webster
Tools UI Strategy
CICS Technical Planning & Strategy, MP189
IBM United Kingdom Limited
Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)



"Ron Bodkin" <rbodkin@xxxxxxxxxxxxxx> 
Sent by: aspectj-dev-bounces@xxxxxxxxxxx
27/04/2007 18:02
Please respond to
AspectJ developer discussions <aspectj-dev@xxxxxxxxxxx>


To
"'AspectJ developer discussions'" <aspectj-dev@xxxxxxxxxxx>
cc

Subject
RE: [aspectj-dev] Concrete Aspect Not working






Hi Hari,
 
Can you provide the details of AbstractStartRequestAspect? There are a
few 
limitations in concrete aspects in AspectJ (e.g., they don?t themselves 
get woven), but so far I?ve found that there are workarounds available. 
 
You can see some examples of concrete aspects that users of Glassbox
have 
posted at our forums (www.glassbox.com) and also sample ones that we use

in our test cases. 
 

From: aspectj-dev-bounces@xxxxxxxxxxx 
[mailto:aspectj-dev-bounces@xxxxxxxxxxx] On Behalf Of Hari Prabu
Kandasamy
Sent: Thursday, April 26, 2007 4:47 AM
To: aspectj-dev@xxxxxxxxxxx
Subject: [aspectj-dev] Concrete Aspect Not working
 
Hi,
 
I've started making some examples using AspectJ1.5 LTW
 
I've created an aspect and able to get the expected results when I just 
define my aspect as follows in my aop.xml
 
<aspects>
<aspect name="com.test.aspects.aj.StartRequestAspect"/>
</aspects>
 
But I don?t see my aspects working by the way I define it as follows.
 
<aspects>
<concrete-aspect name="com.test.aspects.aj.StartRequestAspect"
            extends = "com.test.aspects.aj.AbstractStartRequestAspect"> 
                      <pointcut name="allMethodCalls" 
expression="execution (* com..Test3..*(..))"/>
</concrete-aspect>
</aspects>
 
Any idea where am I going wrong ?
Also it would be great help if someone provide me the working examples
of 
using concrete aspects.
 
Thanx,
Hari.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
solely for the use of the addressee(s). If you are not the intended 
recipient, please notify the sender by e-mail and delete the original 
message. Further, you are not to copy, disclose, or distribute this
e-mail 
or its contents to any other person and any such actions are unlawful. 
This e-mail may contain viruses. Infosys has taken every reasonable 
precaution to minimize this risk, but is not liable for any damage you
may 
sustain as a result of any virus in this e-mail. You should carry out
your 
own virus checks before opening the e-mail or attachment. Infosys
reserves 
the right to monitor and review the content of all messages sent to or 
from this e-mail address. Messages sent to or from this e-mail address
may 
be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number

741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU





-------------- next part --------------
An HTML attachment was scrubbed...
URL:
https://dev.eclipse.org/mailman/listinfo/aspectj-dev/attachments/2007043
0/ad8dbbf6/attachment.html

------------------------------

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


End of aspectj-dev Digest, Vol 26, Issue 4
******************************************