On Fri, 15 Jan 2010 12:40:24 -0200, Massimo Lusetti <mluse...@gmail.com> wrote:

On Fri, Jan 15, 2010 at 3:34 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:

T5 doesn't, but the Servlet API has. Create an HttpSessionBindingListener implementation and add it to the Session. Its valueUnbound() method will be
invoked when the session is invalidated.

Actually HttpSessionBindingListener.valueUnbound() Notifies the object
that it is being unbound from a session and identifies the session, so
due to the way T5 use the session with @SessionState object I would
play carefully with it :)

I don't use @SessionState with my HttpSessionBindingListener implementation. I set it in the Session directly. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to