You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kwan Alex <er...@hotmail.com> on 2003/09/25 10:52:24 UTC

Tapestry Lifecyle Listener Questions

Hi, All
   I would like to create a class(Singleton) that will cache some data in 
the memory. How could I let this class listen to the lifecycle event of 
Tapestry in order to release the memory.
   Does tapestry has this type of mechanism to let other class to be aware 
of the lifecycle?

Thanks in advance.

                                                                            
  Alex Kwan

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry Lifecyle Listener Questions

Posted by "Julio C. Rivera" <Ju...@carm.es>.
See org.apache.tapestry.engine.IMonitor. It could be useful for doing what 
you want.

Regards.
    Julio.


At 16:52 25/09/2003 +0800, you wrote:
>Hi, All
>   I would like to create a class(Singleton) that will cache some data in 
> the memory. How could I let this class listen to the lifecycle event of 
> Tapestry in order to release the memory.
>   Does tapestry has this type of mechanism to let other class to be aware 
> of the lifecycle?
>
>Thanks in advance.
>
>
>  Alex Kwan
>
>_________________________________________________________________
>ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

*************************************************
Julio C. Rivera Riquelme
Unidad de Informática
Gerencia de Atención Primaria de Murcia
C\ Escultor Sanchez Lozano, 7
************************************************* 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org