jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r923218 - in /jackrabbit/trunk/jackrabbit-jca/deploy: jboss/4.x/jcr-ds.xml weblogic/weblogic-ra.xml
Date Mon, 15 Mar 2010 13:28:47 GMT
Author: jukka
Date: Mon Mar 15 13:28:47 2010
New Revision: 923218

URL: http://svn.apache.org/viewvc?rev=923218&view=rev
Log:
JCR-2555: Improved reusability of the JCA package

Reindent the XML descriptor files to match the practice in other parts of Jackrabbit

Modified:
    jackrabbit/trunk/jackrabbit-jca/deploy/jboss/4.x/jcr-ds.xml
    jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml

Modified: jackrabbit/trunk/jackrabbit-jca/deploy/jboss/4.x/jcr-ds.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/deploy/jboss/4.x/jcr-ds.xml?rev=923218&r1=923217&r2=923218&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/deploy/jboss/4.x/jcr-ds.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/deploy/jboss/4.x/jcr-ds.xml Mon Mar 15 13:28:47 2010
@@ -16,13 +16,13 @@
    limitations under the License.
   -->
 <connection-factories> 
-    <tx-connection-factory>
-		<jndi-name>jcr/local</jndi-name> 
-		<xa-transaction/>
-		<rar-name>jackrabbit-jca.rar</rar-name>
-		<connection-definition>javax.jcr.Repository</connection-definition>
-		<config-property name="homeDir" type="java.lang.String">/temp/jackrabbit</config-property>
-		<config-property name="configFile" type="java.lang.String">classpath:repository.xml</config-property>
-		<config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property>
-    </tx-connection-factory>
-</connection-factories>
\ No newline at end of file
+  <tx-connection-factory>
+    <jndi-name>jcr/local</jndi-name> 
+    <xa-transaction/>
+    <rar-name>jackrabbit-jca.rar</rar-name>
+    <connection-definition>javax.jcr.Repository</connection-definition>
+    <config-property name="homeDir" type="java.lang.String">/temp/jackrabbit</config-property>
+    <config-property name="configFile" type="java.lang.String">classpath:repository.xml</config-property>
+    <config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property>
+  </tx-connection-factory>
+</connection-factories>

Modified: jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml?rev=923218&r1=923217&r2=923218&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml (original)
+++ jackrabbit/trunk/jackrabbit-jca/deploy/weblogic/weblogic-ra.xml Mon Mar 15 13:28:47 2010
@@ -17,53 +17,40 @@
   -->
 <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
 
+  <jndi-name>jackrabbitRA</jndi-name>
 
+  <enable-access-outside-app>true</enable-access-outside-app>
 
-	<jndi-name>jackrabbitRA</jndi-name>
+  <enable-global-access-to-classes>true</enable-global-access-to-classes>
 
-	<enable-access-outside-app>true</enable-access-outside-app>
+  <outbound-resource-adapter>
+    <connection-definition-group>
+      <connection-factory-interface>
+        javax.jcr.Repository
+      </connection-factory-interface>
+      <connection-instance>
+        <jndi-name>jackrabbit</jndi-name>
+        <connection-properties>
+          <pool-params>
+            <initial-capacity>2</initial-capacity>
+            <max-capacity>10</max-capacity>
+            <capacity-increment>1</capacity-increment>
+            <shrinking-enabled>true</shrinking-enabled>
+            <shrink-frequency-seconds>60</shrink-frequency-seconds>
+          </pool-params>
+          <properties>
+            <property>
+              <name>HomeDir</name>
+              <value>/temp/jackrabbit</value>
+            </property>
+            <property>
+              <name>ConfigFile</name>
+              <value>/temp/jackrabbit/repository.xml</value>
+            </property>
+          </properties>
+        </connection-properties>
+      </connection-instance>
+    </connection-definition-group>
+  </outbound-resource-adapter>
 
-	<enable-global-access-to-classes>
-		true
-	</enable-global-access-to-classes>
-
-	<outbound-resource-adapter>
-
-		<connection-definition-group>
-			<connection-factory-interface>
-				javax.jcr.Repository
-			</connection-factory-interface>
-
-			<connection-instance>
-				<jndi-name>jackrabbit</jndi-name>
-
-				<connection-properties>
-
-					<pool-params>
-						<initial-capacity>2</initial-capacity>
-						<max-capacity>10</max-capacity>
-						<capacity-increment>1</capacity-increment>
-						<shrinking-enabled>true</shrinking-enabled>
-						<shrink-frequency-seconds>
-							60
-						</shrink-frequency-seconds>
-					</pool-params>
-
-					<properties>
-						<property>
-							<name>HomeDir</name>
-							<value>/temp/jackrabbit</value>
-						</property>
-						<property>
-							<name>ConfigFile</name>
-							<value>/temp/jackrabbit/repository.xml</value>
-						</property>
-					</properties>
-
-				</connection-properties>
-
-			</connection-instance>
-
-		</connection-definition-group>
-	</outbound-resource-adapter>
-</weblogic-connector>
\ No newline at end of file
+</weblogic-connector>



Mime
View raw message