[weld-issues] [JBoss JIRA] Closed: (WELDX-169) Alternatives not working with Generic Beans
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Oct 12 07:29:39 EDT 2010
[ https://jira.jboss.org/browse/WELDX-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WELDX-169.
---------------------------
Assignee: Stuart Douglas
> 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
> Assignee: Stuart Douglas
> 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
More information about the weld-issues
mailing list