[
https://jira.jboss.org/jira/browse/WBRI-329?page=com.atlassian.jira.plugi...
]
Ken Saks commented on WBRI-329:
-------------------------------
Pete,
Without a toggle, what happens in the case that InjectionTarget.inject() is called and the
class contains some EE-style injection? Is that where the WebBeans impl turns around and
calls the various bootstrap services (like EjbServices.resolveEjb(InjectionPoint) ) to
resolve each kind of @EJB, @PersistenceContext, etc.? In that case, how would the 299
impl even know to request injection for a field like bar2 from my original example, where
all the injection information is specified via web.xml or ejb-jar.xml, not through an
annotation?
Also, if the ejb container uses an SPI to carry out the 299-style injection, does that
work even in the case that a Stateful Session Bean is being created as a result of a 299
contextual interaction? Would we still need the SessionBeanInterceptor?
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