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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to