Hi to all! I've search this question but nothing about.
The question is simple, why in external listner for Entity resource
injection not work?
Example:
.....
@Entity
@EntityListners({Listner.class})
public class User {.....}
public class Listner {
@EJB ListnerBean listnerBean; //<----THIS NOT INJECTED
@PostPersist private void postPers(Object obj){...}//THIS WORK
}
.....
Instead in the external interceptor for Stateless, stateful or mdb, the
injection work work!
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/EntityListner-not-injected-resouces-tp4680130.html
Sent from the TomEE Users mailing list archive at Nabble.com.