[jboss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component
xtia004
do-not-reply at jboss.com
Thu Aug 3 17:17:54 EDT 2006
I applied @Startup to a class and @Create to a method of the class. At the method, I want to do something and set a component to session scope. I tried: @In Context sessionContext;, no matter set create and requested to true or not, sessionContext is always null. I also tried @Out(scope=ScopeType.SESSION) private Operator currentUser;, no matter set requested to true or not, it is not outjected to session. I guess at the moment, the session context is not instanced. What to do if I want to initialize something right after a session created but before any other actions taken.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963032#3963032
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963032
More information about the jboss-user
mailing list