[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Applying @DeclareParents to annotated classes
|
Not found :-( (on the main server).
Not Found
The requested URL /technology/aspectj/dev/aspectj-DEVELOPMENT-20060329133605.jar was not found on this server.
Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
./alex
--
.w( the_mindstorm )p.
On 3/29/06, Andy Clement
<andrew.clement@xxxxxxxxx> wrote:
Andy.
On 29/03/06,
Andy Clement <andrew.clement@xxxxxxxxx> wrote:
I've had a look ... and it is a bug ... I have a fix and it should be available later this afternoon. When it's done, you will be able to do:
@DeclareParents(value="@Audit *",defaultImpl=
ApplicationContextAwareImpl.class)
private ApplicationContextRetriever implementedInterface;
Andy.
I am having trouble with this. I am wanting to declare a parent on any class that has and @Audit annotation on it. Here is my code:
======================================================================
@DeclareParents(value="@Audit *.*",defaultImpl=
ApplicationContextAwareImpl.class)
private ApplicationContextRetriever implementedInterface;
======================================================================
I have tried many varients of value="@Audit":
1. @Audit *.*
2. @Audit com..logic.*
3. @Audit com.company.somepackages.logic.Reader
These
start working only when I take the annotation off. The last two in
particular are specific to classes that would probably be using the
annotation. However, I would like to match any class that has the
@Audit annotation, regardless of where it is located. The idea is that
auditing will happen on any class that has the @Audit annotation on the
class and each method to audit. But I cannot get this to work.
-Scott
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users