org.ow2.jasmine.vmm.agent.driver.hyperv
Class HyperVVMImageStore
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jasmine.vmm.agent.domain.ManagedResource
org.ow2.jasmine.vmm.agent.driver.hyperv.HyperVVMImageStore
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
public class HyperVVMImageStore
- extends ManagedResource
- implements org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
|
Method Summary |
long |
getCapacityMB()
|
long |
getFreeSpaceMB()
|
java.lang.String |
getName()
|
java.lang.String |
getPath()
|
java.util.List<org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean> |
listVMImageTemplates()
|
org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean |
lookUpByUUID(java.lang.String uuid)
|
org.ow2.jasmine.vmm.agent.driver.hyperv.HyperVVMImageStore.HypervVirtualMachineImage |
newVMImage(javax.management.ObjectName objectName,
java.lang.String uuid,
java.lang.String name,
java.lang.String description)
|
void |
removeVMImageTemplate(org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean vmImage)
|
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean |
getObjectName |
HyperVVMImageStore
public HyperVVMImageStore(javax.management.ObjectName objectName,
java.lang.String imageStorePath,
java.lang.String disk,
HyperVConnection connection)
throws org.ow2.jasmine.vmm.api.VMMException
- Throws:
org.ow2.jasmine.vmm.api.VMMException
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean- Overrides:
getPath in class ManagedResource
removeVMImageTemplate
public void removeVMImageTemplate(org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean vmImage)
throws org.ow2.jasmine.vmm.api.VMMException
- Specified by:
removeVMImageTemplate in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
- Throws:
org.ow2.jasmine.vmm.api.VMMException
lookUpByUUID
public org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean lookUpByUUID(java.lang.String uuid)
- Specified by:
lookUpByUUID in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
listVMImageTemplates
public java.util.List<org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean> listVMImageTemplates()
- Specified by:
listVMImageTemplates in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getCapacityMB
public long getCapacityMB()
- Specified by:
getCapacityMB in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getFreeSpaceMB
public long getFreeSpaceMB()
- Specified by:
getFreeSpaceMB in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getName
public java.lang.String getName()
- Specified by:
getName in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
newVMImage
public org.ow2.jasmine.vmm.agent.driver.hyperv.HyperVVMImageStore.HypervVirtualMachineImage newVMImage(javax.management.ObjectName objectName,
java.lang.String uuid,
java.lang.String name,
java.lang.String description)
Copyright © 2010 OW2 Consortium. All Rights Reserved.