[weld-issues] [JBoss JIRA] Closed: (WELD-302) ProcessInjectionTarget<X> doesn't work for servlets, filters

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Nov 21 14:02:29 EST 2009


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

Pete Muir closed WELD-302.
--------------------------

    Fix Version/s: 1.0.1.CR1
       Resolution: Rejected
         Assignee: Pete Muir


The container is required to cause these events as documented in https://docs.jboss.org/weld/reference/1.0.0/en-US/html/ri-spi.html#d0e5739 - Performing CDI injection on Java EE component classes

> ProcessInjectionTarget<X> doesn't work for servlets, filters
> ------------------------------------------------------------
>
>                 Key: WELD-302
>                 URL: https://jira.jboss.org/jira/browse/WELD-302
>             Project: Weld
>          Issue Type: Bug
>          Components: Events
>    Affects Versions: 1.0.0.GA
>         Environment: GlassFish v3
>            Reporter: Jitendra Kotamraju
>            Assignee: Pete Muir
>             Fix For: 1.0.1.CR1
>
>
> weld RI calls 
>  for (RIBean<?> bean : beans)
>  {
>  ...
>        else if (bean instanceof AbstractClassBean<?>) {
>               ProcessBeanInjectionTarget.fire(manager, (AbstractClassBean<?>) bean);
> But beans is not populated for Servlet and someother EE components that support injection. Hence ProcessInjectionTarget<TestServlet> is not received by an observer.

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

        


More information about the weld-issues mailing list