jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r790930 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
Date Fri, 03 Jul 2009 14:39:10 GMT
Author: dpfister
Date: Fri Jul  3 14:39:09 2009
New Revision: 790930

URL: http://svn.apache.org/viewvc?rev=790930&view=rev
Log:
JCR-2184 - Allow parsing custom elements in workspace config

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java?rev=790930&r1=790929&r2=790930&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
Fri Jul  3 14:39:09 2009
@@ -419,8 +419,21 @@
      */
     public WorkspaceConfig parseWorkspaceConfig(InputSource xml)
             throws ConfigurationException {
+    	
         Element root = parseXML(xml);
-
+        return parseWorkspaceConfig(root);
+    }
+    
+    /**
+     * Parse workspace config.
+     * 
+     * @param root root element of the workspace configuration
+     * 
+     * @see #parseWorkspaceConfig(InputSource)
+     */
+    protected WorkspaceConfig parseWorkspaceConfig(Element root)
+    		throws ConfigurationException {
+    	
         // Workspace home directory
         String home = getVariables().getProperty(WORKSPACE_HOME_VARIABLE);
 



Mime
View raw message