I just started looking at Seam.
I have an Ejb jar containing a stateless session bean that's seems to be working fine with Seam injection (@Logger for instance being injected properly). In the same jar, there is a POJO registered as a JPA listener (@EntityListeners {TheListener.class})). TheListener class is designated as a java bean Seam component (@Name("theclass")). Injection into TheClass doesn't seem to work... (@Logger in TheClass seems to leave the log property null).
I may most likely be missing something very obvious... Any tips appreciated.
Thanks.
entity listeners and interceptors can't be Seam components, sorry.
Use Component.getInstance("name") instead of @In in in entity listener.