On Fri, Apr 8, 2011 at 12:06 PM, Igor Drobiazko
<igor.drobia...@gmail.com> wrote:
> You can use the PerthreadManager service.
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html

This is preferred.

It ensures that everything is cleaned up at the end of the request
with non memory (including class loader) leaks.

>
> On Fri, Apr 8, 2011 at 8:44 PM, Joe Klecko <buckof...@gmail.com> wrote:
>
>> DOH!  Nice find David.   I've been using this binding in several T5.1
>> projects and now starting to use it in T5.2 projects.  Thiago is there an
>> easy T5 way to make it thread safe or should the index value be stored
>> using
>> something like ThreadLocal?
>>
>> Also even though the page
>> (http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle) is
>> not
>> official documentation, it should really be updated to let T5.2 users know
>> its not thread safe (or update the code to be thread safe).
>>
>> Thanks,
>> J
>>
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/T5-2-BindingPrefixCycle-not-thread-safe-tp4290039p4291673.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to