Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2080

A static public method on an EJB results in "WEIRDNESS IN AOP" message during deploy

    XMLWordPrintable

Details

    • 1.0.7

    Description

      InjectInterceptorsFactory.createPerJoinpoint(Advisor, Joinpoint) must check for the joinpoint to be on a static method and silently return null or a no-op interceptor (depends on the AOP version (no-op always works)), because EJB3 interceptors can never be put on a static method.
      Otherwise it should emit a warning with this Jira, advisor and jp in the description.

      Attachments

        Activity

          People

            rhn-engineering-cdewolf Carlo de Wolf
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: