[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] How can I re-weave a woven class in AspectJ1.2?


Hi,

Have you tried using the -Xreweavable option when you run ajc ?

Best regards,
George
________________________________________
George C. Harley




"Hooke" <hooke@xxxxxxxxxxxx>
Sent by: aspectj-dev-admin@xxxxxxxxxxx

24/10/2004 17:25

Please respond to
aspectj-dev@xxxxxxxxxxx

To
<aspectj-dev@xxxxxxxxxxx>
cc
Subject
[aspectj-dev] How can I re-weave a woven class in AspectJ1.2?





hi,

How can I re-weave a woven class? That is to say a class is already woven by an aspect, and I want to add a new aspect on the woven class again, but not to overwrite the first aspect.

Supposed that A(c) represents class c is woven by aspect A, how to reweave A(c) using aspect B, that is B(A(c)), in AspectJ1.2 ? And how about C(B(A(c))) and so on?

Thanks

Hooke