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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/09 22:38:57 UTC

[jira] [Resolved] (OWB-643) it isn't possible to add/remove @Alternative during the bootstrapping process

     [ https://issues.apache.org/jira/browse/OWB-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-643.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.4

fixed. It's not fully usable in CDI-1.0 because there is no way to dynamically add the <alternatives> in beans.xml. This will only get added in CDI-1.1 via the ProcessModule event.
                
> it isn't possible to add/remove @Alternative during the bootstrapping process
> -----------------------------------------------------------------------------
>
>                 Key: OWB-643
>                 URL: https://issues.apache.org/jira/browse/OWB-643
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core, Inheritance, Specialization
>    Affects Versions: 1.1.3
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 1.1.4
>
>
> WebBeansUtil#setInjectionTargetBeanEnableFlag calls hasInjectionTargetBeanAnnotatedWithAlternative which performs a very strict check (if the given class is annotated with @Alternative).
> so it isn't possible to add or remove @Alternative via ProcessAnnotatedType during the bootstrapping process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira