[jboss-user] [JBoss Seam] - Injection in Seam POJO

ector7280 do-not-reply at jboss.com
Wed Jun 27 11:46:27 EDT 2007


I'm getting a NPE when I try to inject any Seam managed components into a POJO that is also Seam managed.
Here is the code:


  | @Name("titleXiProjectFolder")
  | @Scope(ScopeType.SESSION)
  | public class TitleXiProjectFolder
  | {
  | 	@Logger
  | 	private Log log;
  |   ...
  | }
  | 

I have no problems injecting/bijecting into Seam managed components that are EJB's.
What more do I need to do for these POJO's to recognize other Seam components?

Thanks,

JR

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

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



More information about the jboss-user mailing list