-
1. Re: introduction class syntax
nthx Sep 2, 2004 9:08 AM (in response to spruce257)Hello
The solution might be to package adviced and non-adviced classes in two different packages, and instead `*` use sth like:
`bind ... com.mycompany.aoptized.*`.
(unless you have quite complicated package tree)
I don't know if syntax that you provide in the introduction is even supported.
And btw, what do you need execution-of-everymethod for? You must have some real special requirements..
Hmm, as I think.. AspectJ's `within` might help, but JBossAOP doesn't provide it. One may use `all(com.MyClass)` instead..
t. -
2. Re: introduction class syntax
bill.burke Sep 2, 2004 9:23 AM (in response to spruce257)the syntax is:
<introduction expr="!class($instanceof{LoggableImpl})" ...>
Yes, the doco sucks. Kabir and I will put some effort into it before the last release.
Bill -
3. Re: introduction class syntax
spruce257 Sep 2, 2004 9:55 AM (in response to spruce257)Hey Bill,
thanks so much! That works just fine. In response to the doco... well, its sometimes hard to figure out how to use some stuff, but mostly it is self-explaining. On the other hand - a bit more would be great! Anyway, thanks again!
Best Regards,
Dennis