<?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: The power of proxies in Java</title>
	<atom:link href="http://blog.frankel.ch/the-power-of-proxies-in-java/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.frankel.ch/the-power-of-proxies-in-java</link>
	<description>Nicolas Fränkel blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:06:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Grzegorz Szpetkowski</title>
		<link>http://blog.frankel.ch/the-power-of-proxies-in-java/comment-page-1#comment-980</link>
		<dc:creator>Grzegorz Szpetkowski</dc:creator>
		<pubDate>Thu, 03 Mar 2011 11:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=877#comment-980</guid>
		<description>&quot;limitations enforced by pure Java proxies:
- you are not required to implement interfaces&quot;

I think that pure Java proxies doesn&#039;t have such limitation:

Object proxy = Proxy.newProxyInstance(null, new Class[] { }, handler);

System.out.println(Arrays.toString(proxy.getClass().getInterfaces())); // returns []

In this there way there is no interface involved. Maybe Java API should have clarification for that (interfaces - the list of interfaces for the proxy class to implement).</description>
		<content:encoded><![CDATA[<p>&#8220;limitations enforced by pure Java proxies:<br />
- you are not required to implement interfaces&#8221;</p>
<p>I think that pure Java proxies doesn&#8217;t have such limitation:</p>
<p>Object proxy = Proxy.newProxyInstance(null, new Class[] { }, handler);</p>
<p>System.out.println(Arrays.toString(proxy.getClass().getInterfaces())); // returns []</p>
<p>In this there way there is no interface involved. Maybe Java API should have clarification for that (interfaces &#8211; the list of interfaces for the proxy class to implement).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

