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]>
Thanks!
I solved this problem using HttpSessionContextIntegrationFilter and
ThreadLocal.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]