Hi,

is it a bug that Injections in JMX Service Objects are bound not until the
LifeCycle method start() is executed? This behaviour is new since CR2.
While proceeding the create() and start() method the EntityManager injected by

  | @PersistenceContext(unitName = "myEM") protected EntityManager em;
  | 
em is "null", but when calling a method after the start of the Service it is 
available.
I compared org.jboss.system.ServiceController from RC1 and CR2, but there are 
no changes, which would affect this behaviour.

Someone has an idea what changes affected this?



Regards

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936840#3936840

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936840


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to