forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster-components.xml
35 lines (31 loc) · 2.65 KB
/
cluster-components.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
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- database beans -->
<bean id="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlDefault" class="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlDefault"/>
<bean id="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlHSql" class="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlHSql"/>
<bean id="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlMySql" class="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlMySql"/>
<bean id="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlOracle" class="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlOracle"/>
<bean id="org.sakaiproject.cluster.api.ClusterService"
class="org.sakaiproject.cluster.impl.SakaiClusterService"
init-method="init" destroy-method="destroy">
<property name="serverConfigurationService"> <ref bean="org.sakaiproject.component.api.ServerConfigurationService"/> </property>
<property name="sqlService"> <ref bean="org.sakaiproject.db.api.SqlService"/> </property>
<property name="eventTrackingService"> <ref bean="org.sakaiproject.event.api.EventTrackingService"/> </property>
<property name="usageSessionService"> <ref bean="org.sakaiproject.event.api.UsageSessionService"/> </property>
<property name="threadLocalManager"> <ref bean="org.sakaiproject.thread_local.api.ThreadLocalManager"/> </property>
<property name="refresh"> <value>60</value> </property>
<property name="expired"> <value>600</value> </property>
<property name="ghostingPercent"> <value>100</value> </property>
<property name="autoDdl"> <value>${auto.ddl}</value> </property>
<property name="databaseBeans">
<map>
<entry key="default"><ref bean="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlDefault"/></entry>
<entry key="hsqldb" ><ref bean="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlHSql" /></entry>
<entry key="oracle" ><ref bean="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlOracle" /></entry>
<entry key="mysql" ><ref bean="org.sakaiproject.cluster.impl.SakaiClusterServiceSqlMySql" /></entry>
</map>
</property>
</bean>
</beans>