[jboss-jira] [JBoss JIRA] Created: (JBAS-7172) Problem to bind AOP interceptor pointcut to EJB 3 remote method invocation
VÃt Jonáš (JIRA)
jira-events at lists.jboss.org
Thu Aug 13 03:34:26 EDT 2009
Problem to bind AOP interceptor pointcut to EJB 3 remote method invocation
--------------------------------------------------------------------------
Key: JBAS-7172
URL: https://jira.jboss.org/jira/browse/JBAS-7172
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: AOP, EJB3
Affects Versions: JBossAS-5.1.0.GA
Environment: JDK 6 u15, Windows, JBoss AS 5.1.0, enableLoadtimeWeaving set to true, using -javaagent:pluggable-instrumentor.jar
Reporter: VÃt Jonáš
Assignee: Kabir Khan
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list