org.ow2.jasmine.vmm.agent.driver.libvirt
Class LibvirtServerPool

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.ow2.jasmine.vmm.agent.domain.ManagedResource
          extended by org.ow2.jasmine.vmm.agent.domain.ServerPool
              extended by org.ow2.jasmine.vmm.agent.driver.libvirt.LibvirtServerPool
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.ServerPoolMXBean

public class LibvirtServerPool
extends ServerPool


Field Summary
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool
hosts, name, placementPolicy
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ManagedResource
objectName, path
 
Constructor Summary
LibvirtServerPool(java.lang.String name, javax.management.ObjectName objectName, java.util.Map<java.lang.String,java.lang.String> attributes)
           
 
Method Summary
 java.lang.String getSharedDiskStoreDir()
           
 long getSyncPeriodMillis()
           
 org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean getVMImageStore()
           
 java.lang.String getVmImageStoreHostname()
           
 org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName, java.util.Map<java.lang.String,java.lang.String> props)
           
 
Methods inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool
addHost, getManagedHosts, getName, provisionVM, setProvisioningPolicy
 
Methods inherited from class org.ow2.jasmine.vmm.agent.domain.ManagedResource
emitNotification, emitNotification, getObjectName, getPath
 
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
 

Constructor Detail

LibvirtServerPool

public LibvirtServerPool(java.lang.String name,
                         javax.management.ObjectName objectName,
                         java.util.Map<java.lang.String,java.lang.String> attributes)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

newHost

public org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName,
                                                  java.util.Map<java.lang.String,java.lang.String> props)
Specified by:
newHost in class ServerPool

getVMImageStore

public org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean getVMImageStore()
Specified by:
getVMImageStore in interface org.ow2.jasmine.vmm.api.ServerPoolMXBean
Specified by:
getVMImageStore in class ServerPool

getSharedDiskStoreDir

public java.lang.String getSharedDiskStoreDir()

getVmImageStoreHostname

public java.lang.String getVmImageStoreHostname()

getSyncPeriodMillis

public long getSyncPeriodMillis()


Copyright © 2010 OW2 Consortium. All Rights Reserved.