You can use the PerthreadManager service.

http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html

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

Reply via email to