<?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"
	>
<channel>
	<title>Comments on: Exploiting Generics Metadata</title>
	<atom:link href="http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/</link>
	<description>The voice of SpringSource</description>
	<pubDate>Tue, 06 Jan 2009 07:04:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Ramon Buckland</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-50237</link>
		<dc:creator>Ramon Buckland</dc:creator>
		<pubDate>Fri, 21 Sep 2007 05:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-50237</guid>
		<description>Hi Rob, 


That is great. I was amazed to find this because I was trying to write exactly the same thing but
was having a 20 minute battle with the reflection API and the generics interface. Your solution was spot on :-) and I was able to drop in your extractTypeParameter() method over the top of mine. great!

it really makes it just "that" much bit tidier.</description>
		<content:encoded><![CDATA[<p>Hi Rob, </p>
<p>That is great. I was amazed to find this because I was trying to write exactly the same thing but<br />
was having a 20 minute battle with the reflection API and the generics interface. Your solution was spot on <img src='http://blog.springsource.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> and I was able to drop in your extractTypeParameter() method over the top of mine. great!</p>
<p>it really makes it just &#034;that&#034; much bit tidier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-38383</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 07 Aug 2007 08:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-38383</guid>
		<description>That should have been:

Francesco,

There is no need to create that bean definition - you can simply use MyQueue without the type parameter - at runtime there is no such type as MyQueue&#60;String&#62; when looking at an object instance. You can inject MyQueue into a MyQueue&#60;String&#62; property.

Rob</description>
		<content:encoded><![CDATA[<p>That should have been:</p>
<p>Francesco,</p>
<p>There is no need to create that bean definition - you can simply use MyQueue without the type parameter - at runtime there is no such type as MyQueue&lt;String&gt; when looking at an object instance. You can inject MyQueue into a MyQueue&lt;String&gt; property.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-38382</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 07 Aug 2007 08:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-38382</guid>
		<description>Francesco,

There is no need to create that bean definition - you can simply use MyQueue without the type parameter - at runtime there is no such type as MyQueue when looking at an object instance. You can inject MyQueue into a MyQueue property.

Rob</description>
		<content:encoded><![CDATA[<p>Francesco,</p>
<p>There is no need to create that bean definition - you can simply use MyQueue without the type parameter - at runtime there is no such type as MyQueue when looking at an object instance. You can inject MyQueue into a MyQueue property.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco Iadanza</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-38378</link>
		<dc:creator>Francesco Iadanza</dc:creator>
		<pubDate>Tue, 07 Aug 2007 08:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-38378</guid>
		<description>I'm sorry, I missed the xml configuration.

a question about generics and Spring:
is this kind of bean definition supported in Spring 2.0?

&#60;bean id="test" class="MyQueue&#60;String&#62;" /&#62;

I mean, I created a generic bean class MyQueue&#60;T&#62; and I want to specify the type "String" when creating a bean in Spring configuration

Thanks a lot
Francesco</description>
		<content:encoded><![CDATA[<p>I&#039;m sorry, I missed the xml configuration.</p>
<p>a question about generics and Spring:<br />
is this kind of bean definition supported in Spring 2.0?</p>
<p>&lt;bean id=&#034;test&#034; class=&#034;MyQueue&lt;String&gt;&#034; /&gt;</p>
<p>I mean, I created a generic bean class MyQueue&lt;T&gt; and I want to specify the type &#034;String&#034; when creating a bean in Spring configuration</p>
<p>Thanks a lot<br />
Francesco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco Iadanza</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-38284</link>
		<dc:creator>Francesco Iadanza</dc:creator>
		<pubDate>Mon, 06 Aug 2007 20:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-38284</guid>
		<description>Hi,
a question about generics and Spring:
is this kind of bean definition supported in Spring 2.0?

  " / &#62;  

I mean, I created a generic bean class MyQueue and I want to specify the type "T" when creating a bean in Spring configuration

Thanks a lot
Francesco</description>
		<content:encoded><![CDATA[<p>Hi,<br />
a question about generics and Spring:<br />
is this kind of bean definition supported in Spring 2.0?</p>
<p>  &#034; / &gt;  </p>
<p>I mean, I created a generic bean class MyQueue and I want to specify the type &#034;T&#034; when creating a bean in Spring configuration</p>
<p>Thanks a lot<br />
Francesco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco Iadanza</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-38282</link>
		<dc:creator>Francesco Iadanza</dc:creator>
		<pubDate>Mon, 06 Aug 2007 20:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-38282</guid>
		<description>Hi,
a question about generics and Spring:
is this kind of bean definition supported in Spring 2.0?


"&#62;



I mean, I created a generic bean class MyQueue and I want to specify the type "T" when creating a bean in Spring configuration

Thanks a lot
Francesco</description>
		<content:encoded><![CDATA[<p>Hi,<br />
a question about generics and Spring:<br />
is this kind of bean definition supported in Spring 2.0?</p>
<p>&#034;&gt;</p>
<p>I mean, I created a generic bean class MyQueue and I want to specify the type &#034;T&#034; when creating a bean in Spring configuration</p>
<p>Thanks a lot<br />
Francesco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interface21 Team Blog &#187; A Bridge Too Far</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-8440</link>
		<dc:creator>Interface21 Team Blog &#187; A Bridge Too Far</dc:creator>
		<pubDate>Tue, 16 Jan 2007 22:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-8440</guid>
		<description>[...] Posted on January 16th, 2007 by Rob Harrop in Spring.  In my last entry I presented a technique for creating strategy classes that take full advantage of any generic metadata that is present in your application. At the end of that entry I showed this code snippet:  EntitlementCalculator calculator = new DividendEntitlementCalculator&#40;&#41;; calculator.calculateEntitlement&#40;new MergerCorporateActionEvent&#40;&#41;&#41;; [...]</description>
		<content:encoded><![CDATA[<p>[...] Posted on January 16th, 2007 by Rob Harrop in Spring.  In my last entry I presented a technique for creating strategy classes that take full advantage of any generic metadata that is present in your application. At the end of that entry I showed this code snippet:  EntitlementCalculator calculator = new DividendEntitlementCalculator&#40;&#41;; calculator.calculateEntitlement&#40;new MergerCorporateActionEvent&#40;&#41;&#41;; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Exploiting Generics Metadata :: Newstack</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-2751</link>
		<dc:creator>Exploiting Generics Metadata :: Newstack</dc:creator>
		<pubDate>Thu, 07 Dec 2006 09:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-2751</guid>
		<description>[...] Read more: here [...]</description>
		<content:encoded><![CDATA[<p>[...] Read more: here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toby&#8217;s Epril &#187; Java Generic과 Erasure</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-1257</link>
		<dc:creator>Toby&#8217;s Epril &#187; Java Generic과 Erasure</dc:creator>
		<pubDate>Sun, 05 Nov 2006 11:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-1257</guid>
		<description>[...] Exploiting Generics Metadata [...]</description>
		<content:encoded><![CDATA[<p>[...] Exploiting Generics Metadata [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Dillon</title>
		<link>http://blog.springsource.com/2006/09/29/exploiting-generics-metadata/#comment-453</link>
		<dc:creator>Mike Dillon</dc:creator>
		<pubDate>Sat, 07 Oct 2006 00:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/09/29/exploiting-generics-metadata/#comment-453</guid>
		<description>Thanks! That's great news.

I meant to ask if maybe Spring 2.0 did this, but didn't. We are still on 1.2.5 in our installation, but this is one more reason for me to consider moving to 2.0 sooner than later.</description>
		<content:encoded><![CDATA[<p>Thanks! That&#039;s great news.</p>
<p>I meant to ask if maybe Spring 2.0 did this, but didn&#039;t. We are still on 1.2.5 in our installation, but this is one more reason for me to consider moving to 2.0 sooner than later.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
