forked from zstackio/zstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClusterManager.xml
executable file
·50 lines (44 loc) · 2.35 KB
/
ClusterManager.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:zstack="http://zstack.org/schema/zstack"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://zstack.org/schema/zstack
http://zstack.org/schema/zstack/plugin.xsd"
default-init-method="init" default-destroy-method="destroy">
<bean id="ClusterManager" class="org.zstack.compute.cluster.ClusterManagerImpl">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.Component" />
<zstack:extension interface="org.zstack.header.Service" />
<zstack:extension
interface="org.zstack.header.zone.ZoneChangeStateExtensionPoint"
instance-ref="ClusterExtensionToZone" />
</zstack:plugin>
</bean>
<bean id="BaseClusterFactory" class="org.zstack.compute.cluster.BaseClusterFactory">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.cluster.ClusterFactory" />
</zstack:plugin>
</bean>
<bean id="ClusterApiInterceptor" class="org.zstack.compute.cluster.ClusterApiInterceptor">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.apimediator.ApiMessageInterceptor" />
</zstack:plugin>
</bean>
<bean id="ClusterExtensionToZone" class="org.zstack.compute.cluster.ClusterExtensionToZone" />
<bean id="ClusterExtensionPointEmitter" class="org.zstack.compute.cluster.ClusterExtensionPointEmitter">
<zstack:plugin>
<zstack:extension interface="org.zstack.header.Component" />
</zstack:plugin>
</bean>
<bean id="ClusterCascadeExtension" class="org.zstack.compute.cluster.ClusterCascadeExtension">
<zstack:plugin>
<zstack:extension interface="org.zstack.core.cascade.CascadeExtensionPoint" />
</zstack:plugin>
</bean>
</beans>