Sorry... the correct method name in MyInstrumentation is instrument, not invoke
you need to declare the Aspect in XML before referencing it.
Thanks Bill, it's working now.
But why have I to referece the aspect if the advice tag define the aspect class?
<advice name="instrument" aspect="aftt.weaving.MyAspect"/>
Because aspect also has a scope attribute which by default is PER_VM
<aspect class="Foo" scope="PER_JOINPOINT"/>
Its also important because an aspect can take configuration as well.
Check out this doco: