<?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: How to Extend vSphere Java API?</title>
	<atom:link href="http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/</link>
	<description>Cutting Edge Technologies to Build DoubleCloud (Private + Public Clouds) with Virtualization</description>
	<lastBuildDate>Fri, 10 Feb 2012 18:12:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve Jin</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16527</link>
		<dc:creator>Steve Jin</dc:creator>
		<pubDate>Sun, 13 Mar 2011 00:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16527</guid>
		<description>I noticed your constructor name (m is lowercase) does not match the class name VirtualMachineEx.

Steve</description>
		<content:encoded><![CDATA[<p>I noticed your constructor name (m is lowercase) does not match the class name VirtualMachineEx.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: __geo__</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16287</link>
		<dc:creator>__geo__</dc:creator>
		<pubDate>Thu, 10 Mar 2011 04:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16287</guid>
		<description>probably missing super:
&lt;code&gt;
class VirtualMachineEx extends VirtualMachine
{
  public VirtualmachineEx(VirtualMachine vm)
  {
    super(vm.getServerConnection(), vm.getMOR());
    //copy over two attributes
  }
 
  public AdditionalMethod1()
  {
   ...
  }
 
  public AdditionalMethod2()
  {
   ...
  }
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>probably missing super:<br />
<code><br />
class VirtualMachineEx extends VirtualMachine<br />
{<br />
  public VirtualmachineEx(VirtualMachine vm)<br />
  {<br />
    super(vm.getServerConnection(), vm.getMOR());<br />
    //copy over two attributes<br />
  }</p>
<p>  public AdditionalMethod1()<br />
  {<br />
   ...<br />
  }</p>
<p>  public AdditionalMethod2()<br />
  {<br />
   ...<br />
  }<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Jin</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16132</link>
		<dc:creator>Steve Jin</dc:creator>
		<pubDate>Tue, 08 Mar 2011 17:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16132</guid>
		<description>Do you want to post your code and let&#039;s go from there.

-Steve</description>
		<content:encoded><![CDATA[<p>Do you want to post your code and let&#8217;s go from there.</p>
<p>-Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tos2k</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16106</link>
		<dc:creator>Tos2k</dc:creator>
		<pubDate>Tue, 08 Mar 2011 09:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16106</guid>
		<description>Hi,
can you confirm that:
class VirtualMachineEx extends VirtualMachine
is correctly?

Java complains about a missing constructor doing that...

Can you confirm that (your) code shown is what you mean?
VirtualMachine instead of ManagedObject - in the text you write ManagedObject, not VirtualMachine.

TIA,
Tos2k</description>
		<content:encoded><![CDATA[<p>Hi,<br />
can you confirm that:<br />
class VirtualMachineEx extends VirtualMachine<br />
is correctly?</p>
<p>Java complains about a missing constructor doing that&#8230;</p>
<p>Can you confirm that (your) code shown is what you mean?<br />
VirtualMachine instead of ManagedObject &#8211; in the text you write ManagedObject, not VirtualMachine.</p>
<p>TIA,<br />
Tos2k</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Jin</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16071</link>
		<dc:creator>Steve Jin</dc:creator>
		<pubDate>Mon, 07 Mar 2011 20:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16071</guid>
		<description>Hi Tos2k,

What approach do you want to take? What errors did you get? Thanks!

-Steve</description>
		<content:encoded><![CDATA[<p>Hi Tos2k,</p>
<p>What approach do you want to take? What errors did you get? Thanks!</p>
<p>-Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tos2k</title>
		<link>http://www.doublecloud.org/2010/06/how-to-extend-vsphere-java-api/comment-page-1/#comment-16065</link>
		<dc:creator>Tos2k</dc:creator>
		<pubDate>Mon, 07 Mar 2011 18:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.doublecloud.org/?p=1107#comment-16065</guid>
		<description>Hi Steve!
Thanks for pointing me here ;-) But I am still a little confused about extending vijava, as the code, as advised, gives me compilation errors. Is what you ment:

&lt;cite&gt;
public class JobVM extends com.vmware.vim25.mo.ManagedObject {
    public JobVM(VirtualMachine vm)
    {}
}
&lt;/cite&gt;

?

Tos2k</description>
		<content:encoded><![CDATA[<p>Hi Steve!<br />
Thanks for pointing me here <img src='http://www.doublecloud.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  But I am still a little confused about extending vijava, as the code, as advised, gives me compilation errors. Is what you ment:</p>
<p><cite><br />
public class JobVM extends com.vmware.vim25.mo.ManagedObject {<br />
    public JobVM(VirtualMachine vm)<br />
    {}<br />
}<br />
</cite></p>
<p>?</p>
<p>Tos2k</p>
]]></content:encoded>
	</item>
</channel>
</rss>

