I've been able to get loadtime weaving going, but not hotswap weaving. I was wondering if anyone might be able to help me get over this hurdle.
To prepare the environment for HotSwap, I've tried going the following
<prepare expr="all(mypackage.MyClass)" />
Now, when I start the server, my application gets loaded, I can the URL for MyClass, just fine. However, my hope is that when I place a file called myaspects-aop.xml into $JBOSS_HOME/server/all/deploy, then MyClass would automatically get instrumented with the aspect below, which just logs that it has been invoked. However, that is not happening.
<aspect class="mypackage.MyAspect" scope="PER_JOINPOINT">
<bind pointcut="execution( * mypackage.MyClass->*(..) )">
<advice aspect="mypackage.MyAspect" />
Any insight would be most appreciated!
Did you try to solve this issue? I am also stuck with this. Please do let me know, it would be really realls helpful.