Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-2085

Interceptor extension not recognized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6.0
    • 4.7.0
    • None
    • None

    Description

      Hi,
      encountered this problem when I tried to use the JCache RI with OpenEJB. JCache defines an Interceptor for the caching annotations. These annotations have no static InterceptorBinding defined. Therefore JCache contains a InterceptorExtension that is used to dynamically add the InterceptorBindings on BeforeBeanDiscovery.

      I have added a minimal project that contains just an annoation, an interceptor for this annotation and an interceptor extension. It contains a unit test that just fires up the OpenEJB container. During startup a org.apache.webbeans.exception.WebBeansConfigurationException is thrown.

      It seems that the validation happens to early in CdiScanner (there is also a TODO in the respective source code).

      Attachments

        1. OPENEJB-2085.zip
          18 kB
          Moritz Becker

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            Mobe Moritz Becker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: