Re: ASO & Interceptor

2006-07-10 Thread Henri Dupre
Be careful with ThreadLocal. As someone else reported it here, you need to do a ThreadLocal.remove() when the app is shutdown otherwise, the content of the ThreadLocal won't eligible for garbage collection. Btw, why did you need to use a ThreadLocal? On 7/10/06, Kosarev A.V. <[EMAIL PROTECTED]>

Re: ASO & Interceptor

2006-07-10 Thread Kosarev A.V.
Thanks! I solved this problem using HttpSessionContextIntegrationFilter and ThreadLocal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ASO & Interceptor

2006-07-06 Thread Ron Piterman
The simple approach is to use the http://tapestry.apache.org/tapestry4/tapestry/hivedocs/service/tapestry.state.ApplicationStateManager.html service, either autowired or specifically set to your interceptor service. Another version which I use is create one hivemind service with getters for all

ASO & Interceptor

2006-07-04 Thread Kosarev A.V.
Hi all! How I can receive tapestry state object (e.g. visit object) in hivemind interceptor? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]