[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Crosscutting method's executions
|
Lots of thanks Wes. I hope this will be very usefull.
Dave.
> Yes, you can do bytecode weaving in 1.1. This is documented in
> the FAQ and in the 1.1 distribution README, online at
>
> http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/README-
11.html
>
> However, weaving Sun libraries would violate their license. Rather
> than tracing system method executions, consider tracing method calls
> to system methods from your code (and avoid tracing calls from
> the advice). But the API's you mentioned (wait, etc.) would not
> be traced when called from system code.
>
> As a newbie, you'll find a lot of questions answered in the FAQ,
> the documentation, and the README's, but bear in mind that the
> docs are in transition from 1.0 to 1.1.
>
> Have fun!
> Wes
>
> http://eclipse.org/aspectj
>
> garcia@xxxxxxxxx wrote:
> >
> > Hi everybody, I'm a newbie in aspect programming.
> > To use aspect programing yo use ajc to compile source files ( my classes
> and
> > aspects ) and I can crosscut method calls from my code ( source code ).
> The
> > question is: Can I crosscut method executions from already compiled methods
> such
> > as libraries or .jar archives?.
> >
> > Thanks everybody
> >
> > Dave Garcia
> >
> > P.D. I'm trying to trace java programs and I want to get information about
> > events such as Thread start or wait methods at monitors not using JVMPI. In
> this
> > case I can see when my code calls start method at Thread object but no when
> run
> > method at thread executes.
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>