Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-959

Weld SE should support modular bean declaration archives, and bean sharing

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 1.1.2.Final
    • Java SE Support
    • None

    Description

      When booting weld SE in a modular environment (JBoss Modules), it currently takes the TCCL and scans all beans it can find; however, there is no concept of a modular structure between these beans. Take Forge, for instance:

      Forge (A beans archive) bundles Seam Render, a templating library, for use in rendering various types of output. Seam Render is also a Beans Archive.

      When a forge Plugin (also a Beans archive) includes Seam Render, now there is a conflict. What should happen, is that Weld uses Seam Render beans from the archive bundled with Forge's modules, for forge, and uses the Render beans bundled in the plugin's modules, for the plugin. What actually happens is that weld throws an "Unsatisfied injection point" exception.

      If the plugin is compiled against the Seam Render JAR, but does not bundle it (provided scope,) then a ClassNotFoundException is thrown.

      It should be possible to share beans across modules properly in Weld SE.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: