[weld-issues] [JBoss JIRA] Created: (CDI-18) cleanup Bean Archive behaviour (BDA) of interceptors, decorators and alternatives

Mark Struberg (JIRA) jira-events at lists.jboss.org
Fri Nov 12 07:47:37 EST 2010


cleanup Bean Archive behaviour (BDA) of interceptors, decorators and alternatives
---------------------------------------------------------------------------------

                 Key: CDI-18
                 URL: https://jira.jboss.org/browse/CDI-18
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Specification
    Affects Versions: 1.0
            Reporter: Mark Struberg
             Fix For: 1.0


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!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list