Well i don't seem to make this work:
if I use:
<bind pointcut="execution(* com.test.proiect.web.index->doGet(..)) AND within(com.test.proiect.web.index)"> <interceptor class="com.test.proiect.web.AspectAutentificare"/> </bind>
<bind pointcut="execution(* com.test.proiect.web.index->doGet(..))"> <interceptor class="com.test.proiect.web.AspectAutentificare"/> </bind>
You may want to try JBoss AOP 1.3.0. We changed how loadtime instrumentation is done. My guess is that you encountering classloader problems. In JBoss AOP 1.1.2 and earlier we required a special JBoss classloader when doing loadtime weaving and JDK 1.4.