[jboss-user] [JBoss Seam] - @In gets not injected thou it exists

axismundi do-not-reply at jboss.com
Wed Oct 24 02:44:28 EDT 2007


in one particular case the @In annotation is not working here. 


  | @Stateful
  | @Name("shopTree")
  | @Scope(ScopeType.SESSION)
  | public class ShopTreeBean implements ShopTree {
  | 	@In
  | 	private ApplicationUser applicationUser; <-- ALWAYS NULL
  | 

I have verified that ApplicationUser applicationUser IS existing in the Seam session-context, and it is not null. No exception (such as In-property required) is occuring.
Anyone has any idea why Seam (2.0CR1) is not injecting this session-property?
It is rather annoying if this injection-mechanism works sometimes, and sometimes not.

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

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



More information about the jboss-user mailing list