You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by dp...@apache.org on 2006/11/08 12:09:40 UTC

svn commit: r472450 - /jackrabbit/trunk/jackrabbit/src/main/config/repository.xml

Author: dpfister
Date: Wed Nov  8 03:09:37 2006
New Revision: 472450

URL: http://svn.apache.org/viewvc?view=rev&rev=472450
Log:
JCR-623 Clustering - configuration changes

Modified:
    jackrabbit/trunk/jackrabbit/src/main/config/repository.xml

Modified: jackrabbit/trunk/jackrabbit/src/main/config/repository.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/config/repository.xml?view=diff&rev=472450&r1=472449&r2=472450
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/config/repository.xml (original)
+++ jackrabbit/trunk/jackrabbit/src/main/config/repository.xml Wed Nov  8 03:09:37 2006
@@ -48,8 +48,11 @@
 
             a SearchIndex element that is used for configuring Indexing-related
             settings on the /jcr:system tree.
+
+	    a Cluster element that is used for configuring an optional
+	    clustering node that synchronizes changes made in a cluster
     -->
-    <!ELEMENT Repository (FileSystem,Security,Workspaces,Workspace,Versioning,SearchIndex?)>
+    <!ELEMENT Repository (FileSystem,Security,Workspaces,Workspace,Versioning,SearchIndex?,Cluster?)>
 
     <!--
         a virtual file system
@@ -154,6 +157,29 @@
     <!ATTLIST Versioning
       rootPath CDATA #REQUIRED
     >
+
+    <!--
+	the Cluster element configures the optional participation of this
+        repository in a clustered environment. a literal id may be
+	specified that uniquely identifies this node in a cluster, as well
+        as the delay in seconds before changes to the journal are
+	automatically detected.
+    -->
+    <!ELEMENT Cluster (Journal)>
+    <!ATTLIST Cluster
+      id CDATA #IMPLIED
+      syncDelay CDATA #IMPLIED
+    >
+
+    <!--
+	the Journal element configures the journal used in clustering; the
+        class attribute specifies the FQN of the class implementing the
+	Journal interface.
+    -->
+    <!ELEMENT Journal (param*)>
+    <!ATTLIST Journal
+      class CDATA #REQUIRED>
+
 ]>
 <!-- Example Repository Configuration File -->
 <Repository>