[ 
https://jira.jboss.org/browse/WELDX-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart Douglas resolved WELDX-169.
----------------------------------

    Resolution: Done


http://github.com/weld/extensions/pull/20

> Alternatives not working with Generic Beans
> -------------------------------------------
>
>                 Key: WELDX-169
>                 URL: https://jira.jboss.org/browse/WELDX-169
>             Project: Weld Extensions
>          Issue Type: Bug
>          Components: Generic Beans
>            Reporter: Pete Muir
>             Fix For: 1.0.0.Beta1
>
>
> Given a definition like:
>    @Produces
>    @JCloudsBlobStore(provider = "transient", container = CONTAINER)
>    @TestContainer
>    @RequestScoped
>    @Alternative
>    public Properties getS3TestContainerProperties(@Resource("aws.properties") 
> Properties awsProperties)
>    {
>       return awsProperties;
>    }
> Then all producer methods / fields on the generic bean set should be made 
> alternatives. Furthermore, need to ensure that getBeanClass() is correctly 
> altered to point to the class declaring the above, not the generic managed 
> bean (so that alternatives are correctly enabled).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to