"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...