Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Is there access to the "actual" pointcut when an advice is executed?

Jason, you may want to consider looking at the AspectBench Compiler
(www.aspectbench.org). It was designed for extensibility and gives you
full access to all possible kinds of information at weave time.

Eric

2008/12/5 Jason Weinstein <Jason.Weinstein@xxxxxxx>:
> 1) Are there any listeners available for when a class is woven??
>
> 2) Is there access to the "actual" pointcut when an advice is executed?
>
> As an example
>
> This pointcut
>
> public pointcut NormalizedMessage_new() :
>   call(NormalizedMessage+.new(..));
>
> This is thisJoinPoint.toLongString()
>
> "call(public com.sun.jbi.messaging.MessageImpl())"
>
>
> Which is different. I'd like to have access to
>
> "call(NormalizedMessage+.new(..))"
>
> and really
>
> NormalizedMessage_new() :
>   call(NormalizedMessage+.new(..));
>
>
>
> I'd like to have a GUI which shows all active joinpoints and allows a user
> to add new joinpoints, remove them, and edit the code which runs when the
> joinpoint is executed.
>
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>



-- 
Eric Bodden
Sable Research Group, McGill University, Montréal, Canada
Got an interesting job offer? http://www.bodden.de/hire-me/


Back to the top