Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Aspect priority(weaving order)
Aspect priority(weaving order) [message #587960] Tue, 03 May 2005 14:14
Eclipse UserFriend
Originally posted by:

Hi, I'm using Eclise 3.0.2 with AspectJ 1.5.0M1
The problem is I can't catch the pointcut on the method i "introduced" in
another aspect.

i have the following model:

interface ISomeInterface{
public void setProperty(String newValue);

aspect ASomeInterfaceImpl{

private String ISomeInterface._property;

public void ISomeInterface.setProperty(String newValue){
_property = newValue;

aspect AEventListener{
pointcut propertyChanged() :

after() : propertyChanged() {
// event handling code
// never reached

// so i tried to change the pointcut to:
pointcut propertyChanged() :
set(String ISomeInterface._property);
// but it doesn't work either :(((

so, from i can see the AEventListener is weaved(???) before the
ASomeIntImpl(which defines the setProperty default behaviour).
Previous Topic:Use AJDT with ant
Next Topic:Aspect priority(weaving order)
Goto Forum:

Current Time: Wed Oct 07 02:40:10 GMT 2015

Powered by FUDForum. Page generated in 0.02004 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software