[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1214) Pointcut expression which applies to sub-classes is not applied to super-methods

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Mar 11 04:18:58 EDT 2008


Pointcut expression which applies to sub-classes is not applied to super-methods
--------------------------------------------------------------------------------

                 Key: EJBTHREE-1214
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1214
             Project: EJB 3.0
          Issue Type: Bug
          Components: interceptors
            Reporter: Carlo de Wolf
         Assigned To: Carlo de Wolf
             Fix For: AS 5.0.0.CR1


The AroundInvokeBean implements SessionSynchronization, so all methods should contain the SessionSynchronizationInterceptor as per:
      <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
         <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
      </bind>

But methods defined on the super class AroundInvokeBase do not contain this interceptor in the chain.

Test is in interceptors/supermethod

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list