[jboss-jira] [JBoss JIRA] (WFLY-3192) AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class

Emmanuel Hugonnet (JIRA) issues at jboss.org
Mon Mar 31 09:32:13 EDT 2014


Emmanuel Hugonnet created WFLY-3192:
---------------------------------------

             Summary: AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class
                 Key: WFLY-3192
                 URL: https://issues.jboss.org/browse/WFLY-3192
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EE
    Affects Versions: 8.0.0.Final
            Reporter: Emmanuel Hugonnet
            Assignee: Emmanuel Hugonnet




AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation is found in the class.
The specification says:

A class must not declare more than one AroundInvoke method.

The JBoss AS allows more such methods and then it chooses one of them which is used as the interceptor.

It becomes even more important to check the interceptor validity now with the new feature introduced by AS7-5897 (server side non-EE interceptors for EE invocations).



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list