Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-944

EJB lifecycle interceptors that are not included in the deployment are not applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Final
    • 7.0.0.Beta3
    • EJB
    • None

    Description

      Suppose that we have a class

      @Startup @Singleton @Interceptors(A.class, B.class)
      public class MyEJB {
      }
      

      Where A.class is included with the deployment and B.class is included in a module that is visible to the deployment.

      B will be identified correctly as an interceptor for MyEJB, but LifecycleAnnotationParsingProcessor will not process it (as it apparently handles only components found within the deployment). Therefore, B will be ignored when creating the interceptor set for MyEJB, since ComponentInstallProcessor will treat it as a class that has no lifecycle methods.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            marius.bogoevici Marius Bogoevici (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: