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

BeanDeploymentModules service only makes sense for Java EE environments

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.5.Final, 2.4.3.Final, 3.0.0.Final
    • Fix Version/s: 2.4.4.Final
    • Component/s: None
    • Labels:
      None

      Description

      Right now, this service is registered for any non-SE environment - see also org.jboss.weld.bootstrap.WeldStartup.isEEModulesAwareEnvironment(). However, the integrator (e.g. PAX CDI) could provide its own org.jboss.weld.bootstrap.api.Environment implementation.

      For Weld 3 we should probably change the SPI, ie. add org.jboss.weld.bootstrap.api.Environment#isEEModulesAware() method with default implementation returning false and use this method in WeldStartup.

      For Weld 2 we should probably change the logic of WeldStartup.isEEModulesAwareEnvironment() to return false for any env which is not EE_INJECT, EE, SERVLET.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tremes Tomas Remes
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: