Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml
new file mode 100644
index 0000000000..4614403f3f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.objectivity/config/repo2_clustering.xml
@@ -0,0 +1,36 @@
+<?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:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
+
+<bean id="clusterManager" class="org.eclipse.emf.objy.clustering.impl.ClusteringManagerImpl">
+ <property name="databaseName" value="repo2_clustering" />
+ <property name="mapOfClusteringStrategy">
+ <map>
+ <entry>
+ <key><value>*</value></key>
+ <ref bean="DEFAULT"/>
+ </entry>
+ <entry>
+ <key><value>CATEGORY</value></key>
+ <ref bean="CATEGORY"/>
+ </entry>
+ </map>
+ </property>
+</bean>
+
+<bean id="DEFAULT" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo2_defaultDatabase" />
+</bean>
+
+<bean id="CATEGORY" class="org.eclipse.emf.objy.clustering.impl.ContainerClusteringStrategy">
+ <property name="name" value="CATEGORY" />
+ <property name="maxPagesPerContainer" value="60000" />
+ <property name="dbName" value="repo2_CATEGORY" />
+</bean>
+
+</beans>

Back to the top