[jboss-user] [JBoss Seam] - Re: Can I define some

matt.drees do-not-reply at jboss.com
Wed Aug 29 11:27:07 EDT 2007


"anescu" wrote : I want something like "application scope". Just a damn constant, the same value for everyone.
  | 

Stateless will do that, too.  Stateless means that it doesn't get stored in a scope, so any time something asks for that variable (injection, el, whatever), it will re-evaluate the value expression in the < factory >.  Which in your case is a constant.

And yeah, just use @In.  It's all the same kind of stuff.  You can inject any kind of contextual variable.

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

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



More information about the jboss-user mailing list