[JBoss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component

2006-03-02 Thread JamesWoodward
To trigger a method to run when a session scoped component is created use the @Create annotation. @Create public void init() { . } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927447#3927447 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component

2006-03-02 Thread liudan2005
@Create method only gets trigger when your component is referenced in a jsf page and the page is requested by the user. If your site has many entrances, this is gonna be a problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927465#3927465 Reply to the

[JBoss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component

2006-03-02 Thread [EMAIL PROTECTED]
liudan2005 wrote : At moment, if you have @Startup in your class, your component gets initialised no matter it's session scoped or application scoped. In some occasions, you might want to do some initialization and outject the component when session is created. For example, you might need to

[JBoss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component

2006-03-02 Thread liudan2005
I've submitted the patch. http://jira.jboss.com/jira/browse/JBSEAM-148 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927512#3927512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927512

[JBoss-user] [JBoss Seam] - Re: Session Listener: @Startup for session scoped component

2006-03-02 Thread [EMAIL PROTECTED]
Cool, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927514#3927514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927514 --- This SF.Net email is sponsored by