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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Aug 10 11:46:29 EDT 2009


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

Pete Muir 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?

That is my proposal, I just need to find a decent way to express that through an API.


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

Yes, probably this is a good approach.

I thought about whether we still need an interceptor - we do (I think) so we can track EJB instance destruction.

> 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