[weld-issues] [JBoss JIRA] (CDITCK-211) Test that beans which are @Named via a stereotype are selectable with Instance.select()

Martin Kouba (JIRA) jira-events at lists.jboss.org
Wed Feb 15 10:02:36 EST 2012


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

Martin Kouba reassigned CDITCK-211:
-----------------------------------

    Assignee: Martin Kouba

    
> Test that beans which are @Named via a stereotype are selectable with Instance.select()
> ---------------------------------------------------------------------------------------
>
>                 Key: CDITCK-211
>                 URL: https://issues.jboss.org/browse/CDITCK-211
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Shane Bryzak
>            Assignee: Martin Kouba
>            Priority: Minor
>
> For example, say we have the following bean:
> public @Model class Foo implements IFoo { }
> And we have the following injection point within another bean:
>   @Inject Instance<Foo> fooInstance;
> Check that it is possible to select it
>   // This must not result in an UnsatisfiedDependencyException
>   Foo foo = fooInstance.select(new NamedLiteral("foo")).get();

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

        


More information about the weld-issues mailing list