[
https://jira.jboss.org/browse/EJBTHREE-2113?page=com.atlassian.jira.plugi...
]
jaikiran pai commented on EJBTHREE-2113:
----------------------------------------
Currently the JNDIPropertyInjector to inject TimerService runs into failure because we end
up using a user API EJBContext.getTimerService() during injection. This fails, because
that API isn't allowed during injection. An alternate approach would be to use
BeanManager.getTimerService(). For this to happen, we need to complete EJBTHREE-2118
TimerService is not available at java:comp/TimerService
-------------------------------------------------------
Key: EJBTHREE-2113
URL:
https://jira.jboss.org/browse/EJBTHREE-2113
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: Plugin 1.0.19, EJB3_1 1.0.7, bom-eap5-0.1.2
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: EJB3_1 1.0.8
Although we allow TimerService to be injected into beans through @Resource, we don't
really pull it from the java:comp/TimerService. Infact, java:comp/TimerService is not
really bound for any of the EJB types. The injection works because of a special
org.jboss.injection.TimerServicePropertyInjector which bypasses the ENC during injection.
TimerServicePropertyInjector will henceforth be deprecated and TimerService injection
should henceforth happen through java:comp/TimerService.
--
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