[jboss-user] [EJB/JBoss] - Filter Injection
fabio.ita04
do-not-reply at jboss.com
Tue Dec 19 17:28:34 EST 2006
Does resource injection in Servlet Filters works with JBoss AS 4.0.5? I'm trying to inject an EntityManagerFactory in a authentication filter, but the reference isn't set via injection, and a NullPointerException occurs.
I can successfully get the required EntityManagerFactory via Initial Context (the resource surelly is available via jndi), but it's desirable this could be possible via @PersistenceUnit injection.
Thanx in advance,
Fábio.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995142#3995142
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995142
More information about the jboss-user
mailing list