|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensionManager
public class ExtensionManager
The managed object class corresponding to the one defined in VI SDK API reference.
| Constructor Summary | |
|---|---|
ExtensionManager(ServerConnection serverConnection,
ManagedObjectReference mor)
|
|
| Method Summary | |
|---|---|
Extension |
findExtension(String keyStr)
Find the extension based on the unique key of the plugin If keyStr is null then a NullPointerException |
Extension[] |
getExtensionList()
Retrieve all the registered plugins objects |
void |
printAllExtensions()
Deprecated. |
ManagedEntity[] |
queryManagedBy(String extensionKey)
|
void |
registerExtension(Extension extension)
Register a new plugin If extension is null then a NullPointerException is thrown. |
void |
setPublicKey(String extensionKey,
String publicKey)
|
void |
unregisterExtension(String keyStr)
Un-register an existing plugin If keyStr is null then a NullPointerException
is thrown. |
void |
updateExtension(Extension extension)
Update an existing plugin with modified information If extension is null then a NullPointerException is thrown. |
| Methods inherited from class com.vmware.vim25.mo.ManagedObject |
|---|
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionManager(ServerConnection serverConnection,
ManagedObjectReference mor)
| Method Detail |
|---|
public Extension[] getExtensionList()
public ManagedEntity[] queryManagedBy(String extensionKey)
throws RuntimeFault,
RemoteException
RuntimeFault
RemoteException
public void setPublicKey(String extensionKey,
String publicKey)
throws RuntimeFault,
RemoteException
RuntimeFault
RemoteException
public void unregisterExtension(String keyStr)
throws NotFound,
RuntimeFault,
RemoteException
keyStr is null then a NullPointerException
is thrown.
keyStr - The unique key of the plugin
RemoteException
RuntimeFault
NotFound - either because of the web service itself, or because of the service
provider unable to handle the request.
public void updateExtension(Extension extension)
throws NotFound,
RuntimeFault,
RemoteException
extension is null then a NullPointerException is thrown.
extension - The extension object with updated information
RemoteException
RuntimeFault
NotFound - either because of the web service itself, or because of the service
provider unable to handle the request.
public void registerExtension(Extension extension)
throws RuntimeFault,
RemoteException
extension is null then a NullPointerException is thrown.
extension - The extension object to be registered
RemoteException
RuntimeFault - either because of the web service itself, or because of the service
provider unable to handle the request.
public Extension findExtension(String keyStr)
throws RuntimeFault,
RemoteException
keyStr is null then a NullPointerException
keyStr - The unique key for the plugin
RemoteException
RuntimeFault
RemoteException - if something is wrong with web service call,
either because of the web service itself, or because of the service
provider unable to handle the request.public void printAllExtensions()
RemoteException - if something is wrong with web service call,
either because of the web service itself, or because of the service
provider unable to handle the request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||