Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Obtaining an aspect’s instance based on its pointcut
Obtaining an aspect’s instance based on its pointcut [message #70284] Thu, 19 July 2007 05:49
Oren Mishali is currently offline Oren MishaliFriend
Messages: 10
Registered: July 2009
Junior Member
Suppose we have the following aspect:

aspect A {
pointcut a(): B1.b1() || B2.b2() || B3.b3(); // See ***

before(): a(){
…
}
}

*** Each Bi defines a pointcut bi()

In the advice, we would like to obtain the instance of the aspect which
defins the actual pointcut (i.e. B1, B2, or B3). How do we do that?

Thanks,
Oren
Previous Topic:problem using AJDT in Eclipse
Next Topic:Obtaining an aspect’s instance based on its pointcut
Goto Forum:
  


Current Time: Sun Sep 22 21:40:52 GMT 2024

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

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

Back to the top