com.vmware.vim25.mo.ExtensionManager.class Maven / Gradle / Ivy
The newest version!
???? 1 ? $com/vmware/vim25/mo/ExtensionManager !com/vmware/vim25/mo/ManagedObject R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V Code
LineNumberTable LocalVariableTable this &Lcom/vmware/vim25/mo/ExtensionManager; serverConnection &Lcom/vmware/vim25/mo/ServerConnection; mor )Lcom/vmware/vim25/ManagedObjectReference; getExtensionList ()[Lcom/vmware/vim25/Extension;
extensionList
getCurrentProperty &(Ljava/lang/String;)Ljava/lang/Object; [Lcom/vmware/vim25/Extension; setPublicKey '(Ljava/lang/String;Ljava/lang/String;)V
Exceptions com/vmware/vim25/RuntimeFault " java/rmi/RemoteException
$ % &
getVimService ()Lcom/vmware/vim25/VimPortType;
( ) * getMOR +()Lcom/vmware/vim25/ManagedObjectReference;
, . - com/vmware/vim25/VimPortType / P(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Ljava/lang/String;)V extensionKey Ljava/lang/String; publicKey unregisterExtension (Ljava/lang/String;)V 6 com/vmware/vim25/NotFound 8 java/lang/NullPointerException
7 : ; ()V
, = 3 > >(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;)V keyStr updateExtension (Lcom/vmware/vim25/Extension;)V
C D A encodeUrl
, F @ G H(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/Extension;)V extension Lcom/vmware/vim25/Extension; registerExtension
, L J G
findExtension 0(Ljava/lang/String;)Lcom/vmware/vim25/Extension;
, P M Q Y(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;)Lcom/vmware/vim25/Extension; S U T com/vmware/vim25/Extension V W client '[Lcom/vmware/vim25/ExtensionClientInfo; Y [ Z $com/vmware/vim25/ExtensionClientInfo \ 1 url ^ &
` b a java/lang/String c d indexOf (Ljava/lang/String;)I f &
` h i j
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; S l m n server '[Lcom/vmware/vim25/ExtensionServerInfo; p [ q $com/vmware/vim25/ExtensionServerInfo i I eci &Lcom/vmware/vim25/ExtensionClientInfo; esi &Lcom/vmware/vim25/ExtensionServerInfo; printAllExtensions
Deprecated
{ } ~ java/lang/System ? ? out Ljava/io/PrintStream; ? java/lang/StringBuilder ? There are totally
? ? 4
? ? ? ? append (I)Ljava/lang/StringBuilder; ? plugin(s) registered.
? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String;
? ? ? java/io/PrintStream ? 4 println ?
---- Plugin # ? ---- ? Key:
S ? ? ? getKey ? Version:
S ? ? ?
getVersion ? Registration Time:
S ? ? ? getLastHeartbeatTime ()Ljava/util/Calendar;
? ? ? java/util/Calendar ? ? getTime ()Ljava/util/Date;
? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? Configuration URL:
S ? ? ? getServer )()[Lcom/vmware/vim25/ExtensionServerInfo;
p ? ? ? getUrl exts
SourceFile ExtensionManager.java ! I *+,? ?
2 3
4
*? ? ?
<