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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to