com.vmware.vim25.mo.ServiceInstance.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vijava Show documentation
Show all versions of vijava Show documentation
Java API for accessing VMWare web services API
The newest version!
???? 2? #com/vmware/vim25/mo/ServiceInstance !com/vmware/vim25/mo/ManagedObject serviceContent !Lcom/vmware/vim25/ServiceContent; SERVICE_INSTANCE_MOR )Lcom/vmware/vim25/ManagedObjectReference; VIM25_NAMESPACE Ljava/lang/String;
ConstantValue
xmlns="urn:vim25"> VIM20_NAMESPACE xmlns="urn:vim2"> ()V Code 'com/vmware/vim25/ManagedObjectReference
ServiceInstance
set_value (Ljava/lang/String;)V
" # setType LineNumberTable LocalVariableTable 5(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)V
Exceptions ) java/rmi/RemoteException + java/net/MalformedURLException
- . 6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V this %Lcom/vmware/vim25/mo/ServiceInstance; url Ljava/net/URL; username password
6 7 H(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V
ignoreCert Z
< > java/lang/NullPointerException @ "None of url, username can be null.
= B
D E F setMOR ,(Lcom/vmware/vim25/ManagedObjectReference;)V H com/vmware/vim25/VimPortType
J L K java/net/URL M N toString ()Ljava/lang/String;
G P Q (Ljava/lang/String;Z)V
G S T U getWsc ()Lcom/vmware/vim25/ws/WSClient;
W Y X com/vmware/vim25/ws/WSClient Z setVimNameSpace
G \ ] ^ retrieveServiceContent L(Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ServiceContent;
` b a com/vmware/vim25/ServiceContent c d getAbout ()Lcom/vmware/vim25/AboutInfo;
f h g com/vmware/vim25/AboutInfo i N
getApiVersion
W k l setSoapActionOnApiVersion n $com/vmware/vim25/mo/ServerConnection
m p q T(Ljava/net/URL;Lcom/vmware/vim25/VimPortType;Lcom/vmware/vim25/mo/ServiceInstance;)V
s t u setServerConnection )(Lcom/vmware/vim25/mo/ServerConnection;)V
w x y getSessionManager &()Lcom/vmware/vim25/mo/SessionManager;
{ } | "com/vmware/vim25/mo/SessionManager ~ login V(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/vmware/vim25/UserSession;
? ? ? getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
m ? ? ? setUserSession !(Lcom/vmware/vim25/UserSession;)V namespace
vimService Lcom/vmware/vim25/VimPortType; userSession Lcom/vmware/vim25/UserSession;
StackMapTable ? java/lang/String $(Ljava/net/URL;Ljava/lang/String;Z)V
? ? 6(Ljava/net/URL;Ljava/lang/String;ZLjava/lang/String;)V
sessionStr ? (None of url, session string can be null.
W ? ? setCookie ? currentSession
{ ? ? ? getCurrentProperty &(Ljava/lang/String;)Ljava/lang/Object; ? com/vmware/vim25/UserSession wsc Lcom/vmware/vim25/ws/WSClient;
? ? R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V sc &Lcom/vmware/vim25/mo/ServerConnection; getServerClock ()Ljava/util/Calendar; ? serverClock
? ? java/util/Calendar
getCapability ()Lcom/vmware/vim25/Capability; ?
capability ? com/vmware/vim25/Capability getClusterProfileManager -()Lcom/vmware/vim25/mo/ClusterProfileManager;
? ? ? getServiceContent #()Lcom/vmware/vim25/ServiceContent;
` ? ? ? +()Lcom/vmware/vim25/ManagedObjectReference;
? ? ? createMO N(Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedObject; ? )com/vmware/vim25/mo/ClusterProfileManager currentTime ? com/vmware/vim25/RuntimeFault
? ? ?
getVimService ()Lcom/vmware/vim25/VimPortType;
? ? ? getMOR
G ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;)Ljava/util/Calendar;
getRootFolder ()Lcom/vmware/vim25/mo/Folder; ? com/vmware/vim25/mo/Folder
` ? ? ?
? ? queryVMotionCompatibility ?(Lcom/vmware/vim25/mo/VirtualMachine;[Lcom/vmware/vim25/mo/HostSystem;[Ljava/lang/String;)[Lcom/vmware/vim25/HostVMotionCompatibility; ? "java/lang/IllegalArgumentException ? Neither vm or hosts can be null.
? B
? ? ? "com/vmware/vim25/mo/VirtualMachine
? ? ? com/vmware/vim25/mo/util/MorUtil ? ?
createMORs P([Lcom/vmware/vim25/mo/ManagedObject;)[Lcom/vmware/vim25/ManagedObjectReference;
G ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;[Lcom/vmware/vim25/ManagedObjectReference;[Ljava/lang/String;)[Lcom/vmware/vim25/HostVMotionCompatibility; vm $Lcom/vmware/vim25/mo/VirtualMachine; hosts ![Lcom/vmware/vim25/mo/HostSystem;
compatibility [Ljava/lang/String; retrieveProductComponents *()[Lcom/vmware/vim25/ProductComponentInfo;
G ? ? ? S(Lcom/vmware/vim25/ManagedObjectReference;)[Lcom/vmware/vim25/ProductComponentInfo; validateMigration ?([Lcom/vmware/vim25/mo/VirtualMachine;Lcom/vmware/vim25/VirtualMachinePowerState;[Ljava/lang/String;Lcom/vmware/vim25/mo/ResourcePool;Lcom/vmware/vim25/mo/HostSystem;)[Lcom/vmware/vim25/Event; ? com/vmware/vim25/InvalidState ? vms must not be null.
? ? ? com/vmware/vim25/mo/ResourcePool
? com/vmware/vim25/mo/HostSystem
G ? ?(Lcom/vmware/vim25/ManagedObjectReference;[Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/VirtualMachinePowerState;[Ljava/lang/String;Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;)[Lcom/vmware/vim25/Event; vms %[Lcom/vmware/vim25/mo/VirtualMachine; state +Lcom/vmware/vim25/VirtualMachinePowerState; testType pool "Lcom/vmware/vim25/mo/ResourcePool; host Lcom/vmware/vim25/mo/HostSystem; )com/vmware/vim25/VirtualMachinePowerState ? *[Lcom/vmware/vim25/ManagedObjectReference;
] ? java/lang/System out Ljava/io/PrintStream; java/lang/StringBuilder Exceptoin:
B
#$% append -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
L
(*) java/io/PrintStream+ println- java/lang/Exception e Ljava/lang/Exception; getAboutInfo getAlarmManager $()Lcom/vmware/vim25/mo/AlarmManager;
`41 ?6 com/vmware/vim25/mo/AlarmManager getAuthorizationManager ,()Lcom/vmware/vim25/mo/AuthorizationManager;
`:7 ?< (com/vmware/vim25/mo/AuthorizationManager getCustomFieldsManager +()Lcom/vmware/vim25/mo/CustomFieldsManager;
`@= ?B 'com/vmware/vim25/mo/CustomFieldsManager getCustomizationSpecManager 0()Lcom/vmware/vim25/mo/CustomizationSpecManager;
`FC ?H ,com/vmware/vim25/mo/CustomizationSpecManager getEventManager $()Lcom/vmware/vim25/mo/EventManager;
`LI ?N com/vmware/vim25/mo/EventManager getDiagnosticManager )()Lcom/vmware/vim25/mo/DiagnosticManager;
`RO ?T %com/vmware/vim25/mo/DiagnosticManager "getDistributedVirtualSwitchManager 7()Lcom/vmware/vim25/mo/DistributedVirtualSwitchManager;
`XY ? getDvSwitchManager[ 3com/vmware/vim25/mo/DistributedVirtualSwitchManager getExtensionManager (()Lcom/vmware/vim25/mo/ExtensionManager;
`_\ ?a $com/vmware/vim25/mo/ExtensionManager getFileManager #()Lcom/vmware/vim25/mo/FileManager;
`eb ?g com/vmware/vim25/mo/FileManager getGuestOperationsManager .()Lcom/vmware/vim25/mo/GuestOperationsManager;
`kh ?m *com/vmware/vim25/mo/GuestOperationsManager getAccountManager /()Lcom/vmware/vim25/mo/HostLocalAccountManager;
`qn ?s +com/vmware/vim25/mo/HostLocalAccountManager getLicenseManager &()Lcom/vmware/vim25/mo/LicenseManager;
`wt ?y "com/vmware/vim25/mo/LicenseManager getLocalizationManager +()Lcom/vmware/vim25/mo/LocalizationManager;
`}z ? 'com/vmware/vim25/mo/LocalizationManager getPerformanceManager *()Lcom/vmware/vim25/mo/PerformanceManager;
`?? ? getPerfManager? &com/vmware/vim25/mo/PerformanceManager getProfileComplianceManager 0()Lcom/vmware/vim25/mo/ProfileComplianceManager;
`?? ? getComplianceManager? ,com/vmware/vim25/mo/ProfileComplianceManager getPropertyCollector )()Lcom/vmware/vim25/mo/PropertyCollector;
`?? ?? %com/vmware/vim25/mo/PropertyCollector getScheduledTaskManager ,()Lcom/vmware/vim25/mo/ScheduledTaskManager;
`?? ?? (com/vmware/vim25/mo/ScheduledTaskManager getSearchIndex #()Lcom/vmware/vim25/mo/SearchIndex;
`?? ?? com/vmware/vim25/mo/SearchIndex
`? x ? getHostSnmpSystem &()Lcom/vmware/vim25/mo/HostSnmpSystem;
`?? ?
getSnmpSystem? "com/vmware/vim25/mo/HostSnmpSystem getHostProfileManager *()Lcom/vmware/vim25/mo/HostProfileManager;
`?? ?? &com/vmware/vim25/mo/HostProfileManager getIpPoolManager %()Lcom/vmware/vim25/mo/IpPoolManager;
`?? ?? !com/vmware/vim25/mo/IpPoolManager $getVirtualMachineProvisioningChecker 9()Lcom/vmware/vim25/mo/VirtualMachineProvisioningChecker;
`?? ? getVmProvisioningChecker? 5com/vmware/vim25/mo/VirtualMachineProvisioningChecker %getVirtualMachineCompatibilityChecker :()Lcom/vmware/vim25/mo/VirtualMachineCompatibilityChecker;
`?? ? getVmCompatibilityChecker? 6com/vmware/vim25/mo/VirtualMachineCompatibilityChecker getTaskManager #()Lcom/vmware/vim25/mo/TaskManager;
`?? ?? com/vmware/vim25/mo/TaskManager getUserDirectory %()Lcom/vmware/vim25/mo/UserDirectory;
`?? ?? !com/vmware/vim25/mo/UserDirectory getViewManager #()Lcom/vmware/vim25/mo/ViewManager;
`?? ?? com/vmware/vim25/mo/ViewManager getVirtualDiskManager *()Lcom/vmware/vim25/mo/VirtualDiskManager;
`?? ?? &com/vmware/vim25/mo/VirtualDiskManager getOptionManager %()Lcom/vmware/vim25/mo/OptionManager;
`?? ?
getSetting? !com/vmware/vim25/mo/OptionManager
getOvfManager "()Lcom/vmware/vim25/mo/OvfManager;
`?? ?? com/vmware/vim25/mo/OvfManager
???? createExactManagedObject t(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedObject; mor
SourceFile ServiceInstance.java !
1 G ? Y? ? ? ? ? ? !? $ 7
8 9 . % &