[jboss-jira] [JBoss JIRA] Resolved: (JBAS-9031) @EJB injection on a field/method in a Servlet/Filter class' superclass doesn't work
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Thu Mar 17 10:21:55 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai resolved JBAS-9031.
--------------------------------
Fix Version/s: 7.0.0.Beta2
Resolution: Done
Fixed https://github.com/jbossas/jboss-as/commit/4ac60c9dba40190ed123aba127852674ba730a18
> @EJB injection on a field/method in a Servlet/Filter class' superclass doesn't work
> -----------------------------------------------------------------------------------
>
> Key: JBAS-9031
> URL: https://issues.jboss.org/browse/JBAS-9031
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 7.0.0.Beta1
> Environment: JBoss AS7 master and JBoss AS 7.0Beta1
> Reporter: jaikiran pai
> Assignee: jaikiran pai
> Fix For: 7.0.0.Beta2
>
>
> Consider the following servlet
> {code}
> public class SampleServlet extends BaseServlet{
> ....
> }
> public class BaseServlet extends HttpServlet {
> @EJB
> private SomeEJB bean;
> ...
> }
> {code}
> The @EJB injection on the super class doesn't take place and the field stays null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list