Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1208

Unable to use Unmanaged with mixed CDI 2.0/1.1 bean archives

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Take for instance the Apache CXF CDI Extension. There's a `CXFCdiServlet` class which has no bean defining annotations, but has a valid CDI 1.1 beans.xml. If I start OWB from a main that has CDI 2.0's trimmed bean archive, this servlet is not available as a CDI bean, and hence cannot be used within Unmanaged.

      I'm not sure if the solution is that it should be a CDI bean, or if Unmanaged should be able to look at non-beans. This issue does not replicate on Weld 3.

      Attachments

        Activity

          People

            Unassigned Unassigned
            johndament John D. Ament
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: