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

BeanDeploymentModules service only makes sense for Java EE environments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.4.4.Final
    • 2.3.5.Final, 2.4.3.Final, 3.0.0.Final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              tremes1@redhat.com Tomas Remes
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: