org.ow2.jasmine.vmm.agent.driver.libvirt
Class ImageCatalog
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jasmine.vmm.agent.domain.ManagedResource
org.ow2.jasmine.vmm.agent.driver.libvirt.ImageCatalog
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
public class ImageCatalog
- extends ManagedResource
- implements org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
| 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, getPath |
ImageCatalog
public ImageCatalog(javax.management.ObjectName objectName,
java.lang.String rootDirectory,
java.lang.String storeServer,
RemoteExec.SshAuthInfo authInfo)
throws org.ow2.jasmine.vmm.api.VMMException
- Throws:
org.ow2.jasmine.vmm.api.VMMException
getRootDirectory
public java.lang.String getRootDirectory()
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
newVMImageTemplate
public org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean newVMImageTemplate(LibvirtVirtualMachine vm,
java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.String> metadata)
throws org.ow2.jasmine.vmm.api.InsufficientResourcesException,
org.ow2.jasmine.vmm.api.IllegalOperationException,
org.ow2.jasmine.vmm.api.BadVMPowerStateException,
org.ow2.jasmine.vmm.api.VMMException
- Throws:
org.ow2.jasmine.vmm.api.InsufficientResourcesException
org.ow2.jasmine.vmm.api.IllegalOperationException
org.ow2.jasmine.vmm.api.BadVMPowerStateException
org.ow2.jasmine.vmm.api.VMMException
lookUpByName
public org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean lookUpByName(java.lang.String name)
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
Copyright © 2011 OW2 Consortium. All Rights Reserved.