Injection of @Service with @EJB stopped working in 5.0 (back compat)
--------------------------------------------------------------------
Key: EJBTHREE-1698
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1698
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: AS 5.0.0.CR1
Environment: NOTE: Issue present in AS 5.0.0.GA (which is not in "Affects
Version/s" list yet)
Reporter: Matt C
@Service beans used to be injectable with @EJB ILocalService service; in 4.2.x. 5.0 fails
to resolve the dependencies.
Workaround: Change the code to use @Depends("objectName") ILocalService service;
instead of @EJB.
--
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