-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-5.1.0.GA
-
None
When binding AOP interceptor by following jboss-aop.xml descriptor, no interception is done when invoking matching EJB 3 business method via remote access. But it works when invoked locally. Also it works when using EJB 2.0. In JBoss 4.2.x it works fine.
<aop xmlns="urn:jboss:aop-beans:1.0">
<interceptor name="TestInterceptor" class="evilcroco.interceptor.TestInterceptor" />
<bind pointcut="execution(public * evilcroco.->(..))">
<interceptor-ref name="TestInterceptor"/>
</bind>
</aop>