com.vmware.vim25.mo.samples
Class Mor2MO

java.lang.Object
  extended by com.vmware.vim25.mo.samples.Mor2MO

public class Mor2MO
extends Object

This sample shows how to create managed object from managed object reference. One of the real use cases is to use the URL passed from a VI client plugin to log back to the VC server.

Author:
sjin

Field Summary
static String LOCALE
           
static String MOREF
           
static String SERVICE_URL
           
static String SESSION_ID
           
 
Constructor Summary
Mor2MO()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOREF

public static final String MOREF
See Also:
Constant Field Values

SESSION_ID

public static final String SESSION_ID
See Also:
Constant Field Values

SERVICE_URL

public static final String SERVICE_URL
See Also:
Constant Field Values

LOCALE

public static final String LOCALE
See Also:
Constant Field Values
Constructor Detail

Mor2MO

public Mor2MO()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011-2012. All Rights Reserved.