[webbeans-issues] [JBoss JIRA] Commented: (WBRI-329) Move EJB injection to InjectionTarget

Ken Saks (JIRA) jira-events at lists.jboss.org
Mon Aug 10 11:34:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12479758#action_12479758 ] 

Ken Saks commented on WBRI-329:
-------------------------------

Forgot about the SE case so I can see the need for resolve(InjectionPoint) there.  Will there be some way to configure at boot time whether the EE-style injection that the WebBeans impl requests is done through a single (to-be-defined) "inject" call vs. through individual resolve(InjectionPoint) invocations?  

So IIUC,  InjectionTarget is the 299 spec-defined SPI for requesting all injection (299 and EE) on a non-contextual instance. Using that will always do both 299-style and EE-style injection.

You'll also be adding a separate web beans SPI that will just do 299 style injection?  That's the one the ejb container will use during ejb instance creation, independent of whether the instance is being created as part of a contextual or non-contextual invocation.  

> Move EJB injection to InjectionTarget
> -------------------------------------
>
>                 Key: WBRI-329
>                 URL: https://jira.jboss.org/jira/browse/WBRI-329
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Enterprise Beans, Glassfish integration
>         Environment: 1.0.0.PREVIEW2.SP2 in 7/30/09 GlassFish V3 workspace
>            Reporter: Ken Saks
>             Fix For: 1.0.0.CR1
>
>
> Currently we perform 299 style injection into EJBs via an interceptor, I would prefer to move this to use the InjectionTarget SPI.

-- 
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