Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-18

Global enablement of interceptors, decorators and alternatives

    XMLWordPrintable

Details

    • Low

    Description

      Currently the spec defines that <interceptors>, <decorators> and <alternatives> affect only the Bean Archives where they are configured in (via beans.xml).

      Thus if you e.g. enable an Alternative in a WEB-INF/beans.xml, it does NOT count for the jars in it's WEB-INF/lib folder!
      This is pretty unhandy because you would need to repackage all your jars in your WEB-INF/lib folder and add/expand the <alternatives> sections in their beans.xml.

      Needless to say that this is not only hard to do in a company build but is also impossibly to handle at deploy time in an OSGi environment!

      Attachments

        Issue Links

          Activity

            People

              pmuiratbleepbleep Pete Muir (Inactive)
              struberg Mark Struberg (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: