| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:context="http://www.springframework.org/schema/context" |
| xmlns:aop="http://www.springframework.org/schema/aop" |
| xmlns:util="http://www.springframework.org/schema/util" |
| |
| xsi:schemaLocation="http://www.springframework.org/schema/beans |
| http://www.springframework.org/schema/beans/spring-beans.xsd |
| http://www.springframework.org/schema/aop |
| http://www.springframework.org/schema/aop/spring-aop.xsd |
| http://www.springframework.org/schema/context |
| http://www.springframework.org/schema/context/spring-context.xsd |
| http://www.springframework.org/schema/util |
| http://www.springframework.org/schema/util/spring-util.xsd" |
| > |
| |
| <bean id="clusterBasedAgentLoadBalancerPlanner" |
| class="com.cloud.cluster.agentlb.ClusterBasedAgentLoadBalancerPlanner"> |
| <property name="name" value="ClusterBasedAgentLoadBalancerPlanner" /> |
| </bean> |
| |
| <bean id="volumeOrchestrator" |
| class="org.apache.cloudstack.engine.orchestration.VolumeOrchestrator"> |
| <property name="podAllocators" value="#{podAllocatorsRegistry.registered}" /> |
| <property name="storagePoolAllocators" |
| value="#{storagePoolAllocatorsRegistry.registered}" /> |
| </bean> |
| |
| <bean id="clusteredVirtualMachineManagerImpl" class="com.cloud.vm.ClusteredVirtualMachineManagerImpl"> |
| <property name="hostAllocators" value="#{hostAllocatorsRegistry.registered}" /> |
| <property name="storagePoolAllocators" |
| value="#{storagePoolAllocatorsRegistry.registered}" /> |
| </bean> |
| |
| <bean id="networkOrchestrator" |
| class="org.apache.cloudstack.engine.orchestration.NetworkOrchestrator"> |
| <property name="networkGurus" value="#{networkGurusRegistry.registered}" /> |
| <property name="networkElements" value="#{networkElementsRegistry.registered}" /> |
| <property name="ipDeployers" value="#{ipDeployersRegistry.registered}" /> |
| <property name="dhcpProviders" value="#{dhcpProvidersRegistry.registered}" /> |
| </bean> |
| |
| <bean id="clusteredAgentManagerImpl" class="com.cloud.agent.manager.ClusteredAgentManagerImpl" /> |
| <bean id="managementServiceConfigurationImpl" class="com.cloud.configuration.ManagementServiceConfigurationImpl" /> |
| |
| <bean id="cloudOrchestrator" |
| class="org.apache.cloudstack.engine.orchestration.CloudOrchestrator" /> |
| <bean id="dataCenterResourceManagerImpl" |
| class="org.apache.cloudstack.engine.datacenter.entity.api.DataCenterResourceManagerImpl" /> |
| |
| <bean id="vMEntityManagerImpl" class="org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl" > |
| <property name="planners" value="#{deploymentPlannersRegistry.registered}" /> |
| </bean> |
| |
| <bean id="virtualMachineEntityImpl" class="org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl" /> |
| |
| <bean id="virtualMachinePowerStateSyncImpl" class="com.cloud.vm.VirtualMachinePowerStateSyncImpl" /> |
| |
| <bean id= "vmWorkJobDispatcher" class="com.cloud.vm.VmWorkJobDispatcher"> |
| <property name="name"> |
| <util:constant static-field="com.cloud.vm.VmWorkConstants.VM_WORK_JOB_DISPATCHER"/> |
| </property> |
| <property name="handlers"> |
| <map> |
| <entry key="VirtualMachineManagerImpl" value-ref="clusteredVirtualMachineManagerImpl" /> |
| <entry key="VolumeApiServiceImpl" value-ref="volumeApiServiceImpl" /> |
| <entry key="VMSnapshotManagerImpl" value-ref="vMSnapshotManagerImpl" /> |
| </map> |
| </property> |
| </bean> |
| <bean id= "vmWorkJobWakeupDispatcher" class="com.cloud.vm.VmWorkJobWakeupDispatcher"> |
| <property name="name"> |
| <util:constant static-field="com.cloud.vm.VmWorkConstants.VM_WORK_JOB_WAKEUP_DISPATCHER"/> |
| </property> |
| </bean> |
| |
| </beans> |