[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6728) Provide built-in bean for field injection points with type Event<X>

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Aug 17 12:06:12 EDT 2010


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

Alexey Kazakov updated JBIDE-6728:
----------------------------------

     Labels: new_and_noteworthy  (was: )
    Affects: [Documentation (Ref Guide, User Guide, etc.)]


> Provide built-in bean for field injection points with type Event<X>
> -------------------------------------------------------------------
>
>                 Key: JBIDE-6728
>                 URL: https://jira.jboss.org/browse/JBIDE-6728
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: cdi (jsr-299)
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.M2
>
>
> JSR-299: 
> 10.3.2. The built-in Event
> The container must provide a built-in bean with:
> •            in its set of bean types, for every Java type X that does not contain a type variable,
>    Event<X>
> •  every event qualifier type in its set of qualifier types,
> •  scope @Dependent,
> •  no bean EL name, and
> •  an implementation provided automatically by the container.
> For example, this injection field
> @Inject @Any @Tame @Role("Master") Event<TamingCommand> tamingEvent;
> should not be marked by CDI validator as having no bean for injection.
> Test ObserverMethodResolutionTest.testEventBean() should pass.

-- 
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 jbosstools-issues mailing list