Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] due to interface not advised

Hi,

I have for example this aspect:

after( Context con ) : selectSingletons() && this(con){
...
}

Where Context is an interface.

-If a method has as return type Context (infterface) it will be advised
by aspectj.
-If a method has as return type Context (class which implements
interface) it will not be advised

In theory this should work, any ideas?

thanks

-- 
Michael Rogger
STI Innsbruck (www.sti-innsbruck.at)
University of Innsbruck
ICT Technologiepark
Technikerstr. 21a
6020 Innsbruck, Austria

T +43 512 507 96844
F +43 512 507 9872
E michael.rogger@xxxxxxx

Skype michael.rogger.work


Back to the top