Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3192

AroundInvokeAnnotationParsingProcessor should fail when more methods with @AroundInvoke annotation are found in the class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.1.0.CR1, 8.1.0.Final
    • 8.0.0.Final
    • EE
    • None

      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).

              ehugonne1@redhat.com Emmanuel Hugonnet
              ehugonne1@redhat.com Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: