You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2014/05/10 23:57:17 UTC

[jira] [Created] (OWB-955) rework AlternativesManager to fit CDI 1.1 needs.

Mark Struberg created OWB-955:
---------------------------------

             Summary: rework AlternativesManager to fit CDI 1.1 needs.
                 Key: OWB-955
                 URL: https://issues.apache.org/jira/browse/OWB-955
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0
            Reporter: Mark Struberg
             Fix For: 2.0.0


Currently we have a List of Class and a List of Stereotypes which declare Alternatives.

The new CDI 1.1 AfterTypeDiscovery event forces us to maintain a single list of effectively discovered classes which are either directly or indirectly (stereotypes) annotated as @Alternative.

Classes must only get added if they are either listed in the <alternatives> section of a beans.xml or have a @Priority annotation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)