Hi

I have a Stateful session scoped component namely "userSettings". I want when 
user logged in its build method (annotated with @Create) being invoked. 

first I marked it with @Startup but when the pages are loading this component 
will load as well but at that time, there is no user logged in, so this throws 
an exception and after the user enters his username and password this component 
won't initialize for his session

how can I make a component to be loaded just when a user is signing in? 
@Startup will load for any session even if no user signed in.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078099
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to