public class ExtensionManager extends ManagedObject
| Constructor and Description |
|---|
ExtensionManager(ServerConnection serverConnection,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ExtensionManagerIpAllocationUsage[] |
queryExtensionIpAllocationUsage(String[] extensionKeys) |
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. |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic ExtensionManager(ServerConnection serverConnection, ManagedObjectReference mor)
public Extension[] getExtensionList()
public ExtensionManagerIpAllocationUsage[] queryExtensionIpAllocationUsage(String[] extensionKeys) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic ManagedEntity[] queryManagedBy(String extensionKey) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void setPublicKey(String extensionKey, String publicKey) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void unregisterExtension(String keyStr) throws NotFound, RuntimeFault, RemoteException
keyStr is null then a NullPointerException
is thrown.keyStr - The unique key of the pluginRemoteExceptionRuntimeFaultNotFound - 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 informationRemoteExceptionRuntimeFaultNotFound - 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 registeredRemoteExceptionRuntimeFault - 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 NullPointerExceptionkeyStr - The unique key for the pluginRemoteExceptionRuntimeFaultRemoteException - 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.Copyright © 2011-2012. All Rights Reserved.