<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Interrogating Arbitrary Groovy Closures for Values</title>
	<atom:link href="http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/feed/" rel="self" type="application/rss+xml" />
	<link>http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/</link>
	<description>Groovy, Grails and OS X tips and tricks</description>
	<lastBuildDate>Sat, 31 Jul 2010 11:43:17 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Blog bookmarks 01/26/2010 &#171; My Diigo bookmarks</title>
		<link>http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/comment-page-1/#comment-2382</link>
		<dc:creator>Blog bookmarks 01/26/2010 &#171; My Diigo bookmarks</dc:creator>
		<pubDate>Tue, 26 Jan 2010 06:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=136#comment-2382</guid>
		<description>[...] Interrogating Arbitrary Groovy Closures for Values &#8211; Ted Naleid [...]</description>
		<content:encoded><![CDATA[<p>[...] Interrogating Arbitrary Groovy Closures for Values &#8211; Ted Naleid [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Interrogating Arbitrary Groovy Closures for Values - Ted Naleid -- Topsy.com</title>
		<link>http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/comment-page-1/#comment-2376</link>
		<dc:creator>Tweets that mention Interrogating Arbitrary Groovy Closures for Values - Ted Naleid -- Topsy.com</dc:creator>
		<pubDate>Mon, 25 Jan 2010 17:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=136#comment-2376</guid>
		<description>[...] This post was mentioned on Twitter by Debasish Ghosh, Dmitriy Kopylenko, HamletDRC, Ted Naleid, Zak Jacobson and others. Zak Jacobson said: @bradfordcross Look familiar? how to interrogate Groovy closure values without evaluating the closure: http://is.gd/6YVKl (via @TedNaleid) [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Debasish Ghosh, Dmitriy Kopylenko, HamletDRC, Ted Naleid, Zak Jacobson and others. Zak Jacobson said: @bradfordcross Look familiar? how to interrogate Groovy closure values without evaluating the closure: <a href="http://is.gd/6YVKl" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/is.gd/6YVKl?referer=');">http://is.gd/6YVKl</a> (via @TedNaleid) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/comment-page-1/#comment-2374</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Mon, 25 Jan 2010 14:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=136#comment-2374</guid>
		<description>@Wolfgang - good suggestion about the try/finally (cloning would also work).  I&#039;ve modified the post to include it.</description>
		<content:encoded><![CDATA[<p>@Wolfgang &#8211; good suggestion about the try/finally (cloning would also work).  I&#8217;ve modified the post to include it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://naleid.com/blog/2010/01/24/interrogating-arbitrary-groovy-closures-for-values/comment-page-1/#comment-2370</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Mon, 25 Jan 2010 12:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=136#comment-2370</guid>
		<description>Thanks for the tip! 

Just one thing: I would wrap calling closure() in a try {} finally {} statement, so that the delegate and resolve strategy are reset, even if an exception was thrown. Another way would be to clone() the closure, as described by Peter Ledbrook in his blog: http://www.cacoethes.co.uk/blog/groovyandgrails/supporting-reloading-in-your-grails-plugins</description>
		<content:encoded><![CDATA[<p>Thanks for the tip! </p>
<p>Just one thing: I would wrap calling closure() in a try {} finally {} statement, so that the delegate and resolve strategy are reset, even if an exception was thrown. Another way would be to clone() the closure, as described by Peter Ledbrook in his blog: <a href="http://www.cacoethes.co.uk/blog/groovyandgrails/supporting-reloading-in-your-grails-plugins" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/www.cacoethes.co.uk/blog/groovyandgrails/supporting-reloading-in-your-grails-plugins?referer=');">http://www.cacoethes.co.uk/blog/groovyandgrails/supporting-reloading-in-your-grails-plugins</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
