com.vmware.vim25.mo.samples.lic.SetLicenseSource.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 q 0com/vmware/vim25/mo/samples/lic/SetLicenseSource java/lang/Object ()V Code
LineNumberTable LocalVariableTable this 2Lcom/vmware/vim25/mo/samples/lic/SetLicenseSource; main ([Ljava/lang/String;)V
Exceptions java/lang/Exception java/lang/System out Ljava/io/PrintStream; 8Usage: java SetLicenseSource
java/io/PrintStream println (Ljava/lang/String;)V " #com/vmware/vim25/mo/ServiceInstance $ java/net/URL
# &
! ( ) 6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
! + , - getLicenseManager &()Lcom/vmware/vim25/mo/LicenseManager; / $com/vmware/vim25/LicenseServerSource
. 2 [email protected]
. 4 5 setLicenseServer
7 9 8 "com/vmware/vim25/mo/LicenseManager : ; configureLicenseSource C(Lcom/vmware/vim25/mo/HostSystem;Lcom/vmware/vim25/LicenseSource;)V = esxFull
7 ? @ A setLicenseEdition 5(Lcom/vmware/vim25/mo/HostSystem;Ljava/lang/String;)V C iscsi
7 E F G checkLicenseFeature 5(Lcom/vmware/vim25/mo/HostSystem;Ljava/lang/String;)Z I java/lang/StringBuilder K ISCSI enabled:
H &
H N O P append (Z)Ljava/lang/StringBuilder;
H R S T toString ()Ljava/lang/String;
7 V W A disableFeature
7 Y Z A
enableFeature
! \ ] ^ getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
` b a $com/vmware/vim25/mo/ServerConnection c logout args [Ljava/lang/String; si %Lcom/vmware/vim25/mo/ServiceInstance; lm $Lcom/vmware/vim25/mo/LicenseManager; lss &Lcom/vmware/vim25/LicenseServerSource; enabled Z
StackMapTable
SourceFile SetLicenseSource.java ! / *? ?
*
i ?*?? ? ? ?? !Y? #Y*2? %*2*2? 'L+? *M? .Y? 0N-1? 3,-? 6,