org.ow2.jasmine.vmm.agent.driver.xenapi
Class XenServerPool

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.xenapi.XenServerPool
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.ServerPoolMXBean

public class XenServerPool
extends ServerPool

The XenServerPool is the XenAPI-driver-specific implementation of the ServerPoolMXBean interface.

The XenServerPool accepts the following properties:

These properties will be used to connect to each host member of the XenServerPool.


Field Summary
protected  org.ow2.jasmine.vmm.agent.driver.xenapi.XenServerPool.EventCollector eventCollector
           
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool
attributes, hosts, logger, placementPolicy, servername
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ManagedResource
objectName, path
 
Constructor Summary
XenServerPool(java.lang.String name, javax.management.ObjectName objectName, java.util.Map<java.lang.String,java.lang.String> attributes)
           
 
Method Summary
 void deleteImageStore()
           
 java.lang.String getHypervisor()
           
 java.lang.String getSharedStorageRepository()
           
 org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean getVMImageStore()
           
 void initialize()
           
 org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName, java.util.Map<java.lang.String,java.lang.String> attributes)
           
 
Methods inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool
addHost, addHost, deleteHost, getAttributes, getLatestHost, getManagedHosts, getName, getNotificationInfo, moveHost, 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, 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
 

Field Detail

eventCollector

protected org.ow2.jasmine.vmm.agent.driver.xenapi.XenServerPool.EventCollector eventCollector
Constructor Detail

XenServerPool

public XenServerPool(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

getHypervisor

public java.lang.String getHypervisor()

getSharedStorageRepository

public java.lang.String getSharedStorageRepository()

newHost

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

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

initialize

public void initialize()

deleteImageStore

public void deleteImageStore()
Specified by:
deleteImageStore in class ServerPool


Copyright © 2011 OW2 Consortium. All Rights Reserved.