Nice! Thanks for the tip Peter.

On Thu, Oct 29, 2009 at 12:52 PM, Peter Ledbrook <[email protected]> wrote:
>> Just a note - you should not use the ThreadState stuff as shown in
>> your code sample.  Instead use my example that executes a Runnable and
>> calls the 'doBootstrap' method (that you implement).
>
> As an FYI, closures implement Runnable, so you can replace the
> anonymous class with a closure in BootStrap.groovy.
>
> Cheers,
>
> Peter
>

Reply via email to