[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Java XML RPC with Xen-API?
I believe the object is a map, here is a code fragment that might help: /* Unimplemented... Object kernelKernel=execute("VM.get_kernel_kernel", params); */ java.util.Map result=(java.util.Map)execute("VM.get_record", params); /* Set keyset=result.keySet(); for(Object key : keyset) { LOG.debug("XXX key %s value %b \"%s\"\n", (String)key, null==result.get((String)key), result.get((String)key)); } */ String kernelKernel=(String)result.get("PV_kernel"); /Evan Stefan Berger wrote:
_______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |