geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r647930 - in /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test: java/org/apache/geronimo/jee/application/ java/org/apache/geronimo/jee/applicationclient/ java/org/apache/geronimo/jee/conne...
Date Mon, 14 Apr 2008 18:47:31 GMT
Author: mcconne
Date: Mon Apr 14 11:47:16 2008
New Revision: 647930

URL: http://svn.apache.org/viewvc?rev=647930&view=rev
Log:
GERONIMODEVTOOLS-311 Add the connector junit testcases

Added:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml   (with props)
Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/application/GeronimoApplicationTest.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/applicationclient/GeronimoApplicationClientTest.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/web/GeronimoWebTest.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/application/GeronimoApplicationTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/application/GeronimoApplicationTest.java?rev=647930&r1=647929&r2=647930&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/application/GeronimoApplicationTest.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/application/GeronimoApplicationTest.java Mon Apr 14 11:47:16 2008
@@ -253,6 +253,9 @@
             else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/web-1.1")) {
                 uri = "http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
             }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/connector-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
+            }
 
             super.startElement(uri, localName, qname, atts);
         }

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/applicationclient/GeronimoApplicationClientTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/applicationclient/GeronimoApplicationClientTest.java?rev=647930&r1=647929&r2=647930&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/applicationclient/GeronimoApplicationClientTest.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/applicationclient/GeronimoApplicationClientTest.java Mon Apr 14 11:47:16 2008
@@ -254,6 +254,9 @@
             else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/web-1.1")) {
                 uri = "http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
             }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/connector-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
+            }
 
             super.startElement(uri, localName, qname, atts);
         }

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java Mon Apr 14 11:47:16 2008
@@ -0,0 +1,275 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.web;
+
+import java.io.BufferedInputStream;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.transform.sax.SAXSource;
+
+import junit.framework.AssertionFailedError;
+import junit.framework.TestCase;
+
+import org.custommonkey.xmlunit.Diff;
+import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.XMLFilterImpl;
+
+/**
+ * <strong>GeronimoRaTest</strong> is used to test various JAXB operations on
+ * the following Geronimo-specific XML file supported by the GEP: 
+ * 
+ * <ul>
+ *      <li>geronimo-ra.xml
+ * </ul>
+ * 
+ * <p>The following JAXB operations are performed: 
+ * <ol>
+ *      <li>Unmarshalling and marshalling sequence
+ *      <li>Namespace conversion
+ *      <li>Element conversion (TODO)
+ *      <li>Create a file (TODO)
+ * </ol>
+ * 
+ * 
+ * @version $Rev$ $Date$
+ */
+public class GeronimoRaTest extends TestCase {
+
+    /*------------------------------------------------------------------------*\
+    |                                                                          |
+    |  testcase(s)                                                             | 
+    |                                                                          |
+    \*------------------------------------------------------------------------*/
+    public void testUnmarshallAndMarshall() throws Exception {
+        unmarshallAndMarshall("connector/geronimo-ra-example-1.xml", 
+                              "connector/geronimo-ra-expected-1.xml");
+        unmarshallAndMarshall("connector/geronimo-ra-example-2.xml", 
+                              "connector/geronimo-ra-expected-2.xml");
+        unmarshallAndMarshall("connector/geronimo-ra-example-3.xml", 
+                              "connector/geronimo-ra-expected-3.xml");
+    }
+
+    public void testConvertNamespace() throws Exception {
+        convertNamespace("connector/geronimo-ra-example-4.xml",
+                         "connector/geronimo-ra-expected-1.xml");
+        convertNamespace("connector/geronimo-ra-example-5.xml", 
+                         "connector/geronimo-ra-expected-2.xml");
+        convertNamespace("connector/geronimo-ra-example-6.xml", 
+                         "connector/geronimo-ra-expected-3.xml");
+    }
+
+
+    /*------------------------------------------------------------------------*\
+    |                                                                          |
+    |  Private method(s)                                                       | 
+    |                                                                          |
+    \*------------------------------------------------------------------------*/
+    private void unmarshallAndMarshall(String fileExample, String fileExpected) throws Exception {
+
+        // 
+        // Create unmarshaller and marshaller
+        // 
+        JAXBContext jaxbContext = JAXBContext.newInstance( 
+                                    "org.apache.geronimo.jee.connector:" +
+                                    "org.apache.geronimo.jee.openejb:" +
+                                    "org.apache.geronimo.jee.web:" +
+                                    "org.apache.geronimo.jee.application:" +
+                                    "org.apache.geronimo.jee.applicationclient:" +
+                                    "org.apache.geronimo.jee.deployment:" +
+                                    "org.apache.geronimo.jee.naming:" +
+                                    "org.apache.geronimo.jee.security", getClass().getClassLoader() );
+        Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+        Marshaller marshaller = jaxbContext.createMarshaller();
+        marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+        marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8");
+
+        // 
+        // Read example and expected XML files
+        // 
+        InputStream exampleInputStream = this.getClass().getClassLoader().getResourceAsStream(fileExample);
+        InputStream expectedInputStream = this.getClass().getClassLoader().getResourceAsStream(fileExpected);
+        String example = readContent(exampleInputStream);
+        String expected = readContent(expectedInputStream);
+
+        // 
+        // Unmarshall the example file
+        // 
+        // Note: Use InputSource (instead of InputStream) to prevent 
+        //       "org.xml.sax.SAXParseException: Premature end of file." exceptions
+        // 
+        Object jaxbElement = unmarshaller.unmarshal(new InputSource(new ByteArrayInputStream(example.getBytes())));
+
+        // 
+        // Marshall the output of the unmarshall
+        // 
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
+        marshaller.marshal(jaxbElement, baos);
+        byte[] bytes = baos.toByteArray();
+        String actual = new String(bytes);
+
+        // 
+        // Compare actual and expected
+        // 
+        try {
+            Diff myDiff = new Diff(expected, actual);
+            assertTrue("Files are similar " + myDiff, myDiff.similar());
+        }
+        catch (AssertionFailedError e) {
+            System.out.println("[Example XML: " + fileExample + "] " + '\n' + example + '\n');
+            System.out.println("[Expected XML: " + fileExpected + "] " + '\n' + expected + '\n');
+            System.out.println("[Actual XML] " + '\n' + actual + '\n');
+            throw e;            
+        }
+
+    }
+
+
+    private void convertNamespace(String fileExample,String fileExpected) throws Exception {
+
+        // 
+        // Create unmarshaller and marshaller
+        // 
+        JAXBContext jaxbContext = JAXBContext.newInstance( 
+                                    "org.apache.geronimo.jee.connector:" +
+                                    "org.apache.geronimo.jee.openejb:" +
+                                    "org.apache.geronimo.jee.web:" +
+                                    "org.apache.geronimo.jee.application:" +
+                                    "org.apache.geronimo.jee.applicationclient:" +
+                                    "org.apache.geronimo.jee.deployment:" +
+                                    "org.apache.geronimo.jee.naming:" +
+                                    "org.apache.geronimo.jee.security", getClass().getClassLoader() );
+        Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+        Marshaller marshaller = jaxbContext.createMarshaller();
+        marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+        marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8");
+
+        // 
+        // Create SAXParser
+        // 
+        SAXParserFactory factory = SAXParserFactory.newInstance();
+        factory.setNamespaceAware(true);
+        factory.setValidating(false);
+        SAXParser parser = factory.newSAXParser();
+
+        // 
+        // Create NamespaceFilter to filter for v1.1 namespaces
+        // 
+        NamespaceFilter xmlFilter = new NamespaceFilter(parser.getXMLReader());
+
+        // 
+        // Read example and expected XML files
+        // 
+        InputStream exampleInputStream = this.getClass().getClassLoader().getResourceAsStream(fileExample);
+        InputStream expectedInputStream = this.getClass().getClassLoader().getResourceAsStream(fileExpected);
+        String example = readContent(exampleInputStream);
+        String expected = readContent(expectedInputStream);
+
+        // 
+        // Unmarshall the example file
+        // 
+        SAXSource source = new SAXSource(xmlFilter, new InputSource(new ByteArrayInputStream(example.getBytes())));
+        Object jaxbElement = unmarshaller.unmarshal(source);
+
+        // 
+        // Marshall the output of the unmarshall
+        // 
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
+        marshaller.marshal(jaxbElement, baos);
+        byte[] bytes = baos.toByteArray();
+        String actual = new String(bytes);
+
+        // 
+        // Compare actual and expected
+        // 
+        try {
+            Diff myDiff = new Diff(expected, actual);
+            assertTrue("Files are similar " + myDiff, myDiff.similar());
+        }
+        catch (AssertionFailedError e) {
+            System.out.println("[Example XML: " + fileExample + "] " + '\n' + example + '\n');
+            System.out.println("[Expected XML: " + fileExpected + "] " + '\n' + expected + '\n');
+            System.out.println("[Actual XML] " + '\n' + actual + '\n');
+            throw e;            
+        }
+    }
+
+
+    private String readContent(InputStream in) throws IOException {
+        StringBuffer sb = new StringBuffer();
+        in = new BufferedInputStream(in);
+        int i = in.read();
+        while (i != -1) {
+            sb.append((char) i);
+            i = in.read();
+        }
+        String content = sb.toString();
+        return content;
+    }
+
+
+    private class NamespaceFilter extends XMLFilterImpl {
+
+        public NamespaceFilter(XMLReader xmlReader) {
+            super(xmlReader);
+        }
+
+        public void startElement(String uri, String localName, String qname, Attributes atts) throws SAXException {
+
+            if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/deployment-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/deployment-1.2";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/naming-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/naming-1.2";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/application-1.2")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/security-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/security-2.0";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/security-1.2")) {
+                uri = "http://geronimo.apache.org/xml/ns/security-2.0";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/web-2.0")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/web-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/connector-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
+            }
+
+            super.startElement(uri, localName, qname, atts);
+        }
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/connector/GeronimoRaTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/web/GeronimoWebTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/web/GeronimoWebTest.java?rev=647930&r1=647929&r2=647930&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/web/GeronimoWebTest.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/java/org/apache/geronimo/jee/web/GeronimoWebTest.java Mon Apr 14 11:47:16 2008
@@ -96,13 +96,10 @@
         // Create unmarshaller and marshaller
         // 
         JAXBContext jaxbContext = JAXBContext.newInstance( 
-                                    "org.apache.geronimo.jee.connector:" +
-                                    "org.apache.geronimo.jee.openejb:" +
                                     "org.apache.geronimo.jee.web:" +
                                     "org.apache.geronimo.jee.application:" +
-                                    "org.apache.geronimo.jee.applicationclient:" +
                                     "org.apache.geronimo.jee.deployment:" +
-                                    "org.apache.geronimo.jee.naming:" +
+                                    "org.apache.geronimo.jee.naming:" + 
                                     "org.apache.geronimo.jee.security", getClass().getClassLoader() );
         Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
         Marshaller marshaller = jaxbContext.createMarshaller();
@@ -156,13 +153,10 @@
         // Create unmarshaller and marshaller
         // 
         JAXBContext jaxbContext = JAXBContext.newInstance( 
-                                    "org.apache.geronimo.jee.connector:" +
-                                    "org.apache.geronimo.jee.openejb:" +
                                     "org.apache.geronimo.jee.web:" +
                                     "org.apache.geronimo.jee.application:" +
-                                    "org.apache.geronimo.jee.applicationclient:" +
                                     "org.apache.geronimo.jee.deployment:" +
-                                    "org.apache.geronimo.jee.naming:" +
+                                    "org.apache.geronimo.jee.naming:" + 
                                     "org.apache.geronimo.jee.security", getClass().getClassLoader() );
         Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
         Marshaller marshaller = jaxbContext.createMarshaller();
@@ -264,6 +258,9 @@
             }
             else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/web-1.1")) {
                 uri = "http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
+            }
+            else if (uri.equals("http://geronimo.apache.org/xml/ns/j2ee/connector-1.1")) {
+                uri = "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
             }
 
             super.startElement(uri, localName, qname, atts);

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<rar:connector xmlns:rar="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
+
+    <sys:environment>
+        <sys:dependencies>
+            <sys:dependency>
+                <sys:groupId>org.apache.derby</sys:groupId>
+                <sys:artifactId>derby</sys:artifactId>
+                <sys:type>jar</sys:type>
+            </sys:dependency>
+        </sys:dependencies>
+    </sys:environment>
+
+    <rar:resourceadapter>
+        <rar:outbound-resourceadapter>
+            <rar:connection-definition>
+                <rar:connectionfactory-interface>javax.sql.DataSource</rar:connectionfactory-interface>
+                <rar:connectiondefinition-instance>
+                    <rar:name>RARDBDatasource-1_3</rar:name>
+                    <rar:config-property-setting name="Password"/>
+                    <rar:config-property-setting name="LoginTimeout"/>
+                    <rar:config-property-setting name="DatabaseName">DefaultDB-1_3</rar:config-property-setting>
+                    <rar:config-property-setting name="UserName"/>
+                    <rar:config-property-setting name="ShutdownDatabase"/>
+                    <rar:connectionmanager>
+                        <rar:local-transaction/>
+                        <rar:single-pool>
+                            <rar:max-size>15</rar:max-size>
+                            <rar:min-size>5</rar:min-size>
+                            <rar:blocking-timeout-milliseconds>500</rar:blocking-timeout-milliseconds>
+                            <rar:idle-timeout-minutes>15</rar:idle-timeout-minutes>
+                            <rar:match-one/>
+                        </rar:single-pool>
+                    </rar:connectionmanager>
+                </rar:connectiondefinition-instance>
+            </rar:connection-definition>
+        </rar:outbound-resourceadapter>
+    </rar:resourceadapter>
+
+</rar:connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+           
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+
+    <resourceadapter>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>FirstTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">newvalue1</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty3">newvalue2</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>SecondTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty4">newvalue3</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty1">newvalue4</config-property-setting>
+                    <connectionmanager>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <single-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                        </single-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>ThirdTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">StringValue3</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+
+    <!--normally this is in the j2ee-server-plan.xml.  It is included here so the gbeans can start in unit tests-->
+    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+</connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
+           
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+
+    <resourceadapter>
+        <resourceadapter-instance>
+            <resourceadapter-name>testRA</resourceadapter-name>
+            <config-property-setting name="RAStringProperty">NewStringValue</config-property-setting>
+            <workmanager>
+                <gbean-link>DefaultWorkManager</gbean-link>
+            </workmanager>
+        </resourceadapter-instance>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>FirstTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">newvalue1</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty3">newvalue2</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>SecondTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty4">newvalue3</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty1">newvalue4</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+            <connection-definition>
+                <connectionfactory-interface>
+                    org.apache.geronimo.connector.mock.ConnectionFactoryExtension</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>ThirdTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">StringValue3</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+
+    <adminobject>
+        <adminobject-interface>org.apache.geronimo.connector.mock.MockAdminObject</adminobject-interface>
+        <adminobject-class>org.apache.geronimo.connector.mock.MockAdminObjectImpl</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>tweedledee</message-destination-name>
+            <config-property-setting name="Tweedle">Dee-value</config-property-setting>
+        </adminobject-instance>
+        <adminobject-instance>
+            <message-destination-name>tweedledum</message-destination-name>
+            <config-property-setting name="Tweedle">Dum-value</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+
+    <!--normally this is in the j2ee-server-plan.xml.  It is included here so the gbeans can start in unit tests-->
+    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+    <gbean name="DefaultThreadPool" class="org.apache.geronimo.pool.ThreadPool">
+        <attribute name="keepAliveTime">5000</attribute>
+        <attribute name="poolSize">300</attribute>
+        <attribute name="poolName">DefaultThreadPool</attribute>
+    </gbean>
+
+    <gbean name="DefaultWorkManager" class="org.apache.geronimo.connector.work.GeronimoWorkManagerGBean">
+        <reference name="SyncPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="StartPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="ScheduledPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+    <gbean name="TransactionManager" class="org.apache.geronimo.transaction.manager.GeronimoTransactionManagerGBean"/>
+</connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-3.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<rar:connector xmlns:rar="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1">
+
+    <sys:environment>
+        <sys:dependencies>
+            <sys:dependency>
+                <sys:groupId>org.apache.derby</sys:groupId>
+                <sys:artifactId>derby</sys:artifactId>
+                <sys:type>jar</sys:type>
+            </sys:dependency>
+        </sys:dependencies>
+    </sys:environment>
+
+    <rar:resourceadapter>
+        <rar:outbound-resourceadapter>
+            <rar:connection-definition>
+                <rar:connectionfactory-interface>javax.sql.DataSource</rar:connectionfactory-interface>
+                <rar:connectiondefinition-instance>
+                    <rar:name>RARDBDatasource-1_3</rar:name>
+                    <rar:config-property-setting name="Password"/>
+                    <rar:config-property-setting name="LoginTimeout"/>
+                    <rar:config-property-setting name="DatabaseName">DefaultDB-1_3</rar:config-property-setting>
+                    <rar:config-property-setting name="UserName"/>
+                    <rar:config-property-setting name="ShutdownDatabase"/>
+                    <rar:connectionmanager>
+                        <rar:local-transaction/>
+                        <rar:single-pool>
+                            <rar:max-size>15</rar:max-size>
+                            <rar:min-size>5</rar:min-size>
+                            <rar:blocking-timeout-milliseconds>500</rar:blocking-timeout-milliseconds>
+                            <rar:idle-timeout-minutes>15</rar:idle-timeout-minutes>
+                            <rar:match-one/>
+                        </rar:single-pool>
+                    </rar:connectionmanager>
+                </rar:connectiondefinition-instance>
+            </rar:connection-definition>
+        </rar:outbound-resourceadapter>
+    </rar:resourceadapter>
+
+</rar:connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-4.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
+           
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+
+    <resourceadapter>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>FirstTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">newvalue1</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty3">newvalue2</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>SecondTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty4">newvalue3</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty1">newvalue4</config-property-setting>
+                    <connectionmanager>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <single-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                        </single-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>ThirdTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">StringValue3</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+
+    <!--normally this is in the j2ee-server-plan.xml.  It is included here so the gbeans can start in unit tests-->
+    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+</connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-5.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+           
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
+           
+    <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+
+    <resourceadapter>
+        <resourceadapter-instance>
+            <resourceadapter-name>testRA</resourceadapter-name>
+            <config-property-setting name="RAStringProperty">NewStringValue</config-property-setting>
+            <workmanager>
+                <gbean-link>DefaultWorkManager</gbean-link>
+            </workmanager>
+        </resourceadapter-instance>
+        <outbound-resourceadapter>
+            <connection-definition>
+                <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>FirstTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">newvalue1</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty3">newvalue2</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+                <connectiondefinition-instance>
+                    <name>SecondTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty4">newvalue3</config-property-setting>
+                    <config-property-setting name="OutboundStringProperty1">newvalue4</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+            <connection-definition>
+                <connectionfactory-interface>
+                    org.apache.geronimo.connector.mock.ConnectionFactoryExtension</connectionfactory-interface>
+                <connectiondefinition-instance>
+                    <name>ThirdTestOutboundConnectionFactory</name>
+                    <config-property-setting name="OutboundStringProperty1">StringValue3</config-property-setting>
+                    <connectionmanager>
+                        <container-managed-security/>
+                        <xa-transaction>
+                            <transaction-caching/>
+                        </xa-transaction>
+                        <partitioned-pool>
+                            <max-size>10</max-size>
+                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                            <match-one/>
+                            <partition-by-subject/>
+                        </partitioned-pool>
+                    </connectionmanager>
+                </connectiondefinition-instance>
+            </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+
+    <adminobject>
+        <adminobject-interface>org.apache.geronimo.connector.mock.MockAdminObject</adminobject-interface>
+        <adminobject-class>org.apache.geronimo.connector.mock.MockAdminObjectImpl</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>tweedledee</message-destination-name>
+            <config-property-setting name="Tweedle">Dee-value</config-property-setting>
+        </adminobject-instance>
+        <adminobject-instance>
+            <message-destination-name>tweedledum</message-destination-name>
+            <config-property-setting name="Tweedle">Dum-value</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+
+    <!--normally this is in the j2ee-server-plan.xml.  It is included here so the gbeans can start in unit tests-->
+    <gbean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinatorGBean">
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+    <gbean name="DefaultThreadPool" class="org.apache.geronimo.pool.ThreadPool">
+        <attribute name="keepAliveTime">5000</attribute>
+        <attribute name="poolSize">300</attribute>
+        <attribute name="poolName">DefaultThreadPool</attribute>
+    </gbean>
+
+    <gbean name="DefaultWorkManager" class="org.apache.geronimo.connector.work.GeronimoWorkManagerGBean">
+        <reference name="SyncPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="StartPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="ScheduledPool">
+            <name>DefaultThreadPool</name>
+        </reference>
+        <reference name="TransactionManager">
+            <name>TransactionManager</name>
+        </reference>
+    </gbean>
+
+    <gbean name="TransactionManager" class="org.apache.geronimo.transaction.manager.GeronimoTransactionManagerGBean"/>
+</connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-example-6.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+           
+<!-- @version $Rev$ $Date$ -->
+           
+<ns2:connector xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ns2="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" xmlns:ns3="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ns4="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" xmlns:ns5="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" xmlns:ns6="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:ns7="http://java.sun.com/xml/ns/persistence" xmlns:ns8="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" xmlns:ns9="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0">
+    <environment>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.derby</groupId>
+                <artifactId>derby</artifactId>
+                <type>jar</type>
+            </dependency>
+        </dependencies>
+    </environment>
+    <ns2:resourceadapter>
+        <ns2:outbound-resourceadapter>
+            <ns2:connection-definition>
+                <ns2:connectionfactory-interface>javax.sql.DataSource</ns2:connectionfactory-interface>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>RARDBDatasource-1_3</ns2:name>
+                    <ns2:config-property-setting name="Password"></ns2:config-property-setting>
+                    <ns2:config-property-setting name="LoginTimeout"></ns2:config-property-setting>
+                    <ns2:config-property-setting name="DatabaseName">DefaultDB-1_3</ns2:config-property-setting>
+                    <ns2:config-property-setting name="UserName"></ns2:config-property-setting>
+                    <ns2:config-property-setting name="ShutdownDatabase"></ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:local-transaction/>
+                        <ns2:single-pool>
+                            <ns2:max-size>15</ns2:max-size>
+                            <ns2:min-size>5</ns2:min-size>
+                            <ns2:blocking-timeout-milliseconds>500</ns2:blocking-timeout-milliseconds>
+                            <ns2:idle-timeout-minutes>15</ns2:idle-timeout-minutes>
+                            <ns2:match-one/>
+                        </ns2:single-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+            </ns2:connection-definition>
+        </ns2:outbound-resourceadapter>
+    </ns2:resourceadapter>
+</ns2:connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+           
+<!-- @version $Rev$ $Date$ -->
+           
+<ns2:connector xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ns2="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" xmlns:ns3="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ns4="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" xmlns:ns5="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" xmlns:ns6="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:ns7="http://java.sun.com/xml/ns/persistence" xmlns:ns8="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" xmlns:ns9="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0">
+    <environment>
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+    <ns2:resourceadapter>
+        <ns2:outbound-resourceadapter>
+            <ns2:connection-definition>
+                <ns2:connectionfactory-interface>javax.resource.cci.ConnectionFactory</ns2:connectionfactory-interface>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>FirstTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty1">newvalue1</ns2:config-property-setting>
+                    <ns2:config-property-setting name="OutboundStringProperty3">newvalue2</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:container-managed-security/>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:partitioned-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                            <ns2:partition-by-subject/>
+                        </ns2:partitioned-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>SecondTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty4">newvalue3</ns2:config-property-setting>
+                    <ns2:config-property-setting name="OutboundStringProperty1">newvalue4</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:single-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                        </ns2:single-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>ThirdTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty1">StringValue3</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:container-managed-security/>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:partitioned-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                            <ns2:partition-by-subject/>
+                        </ns2:partitioned-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+            </ns2:connection-definition>
+        </ns2:outbound-resourceadapter>
+    </ns2:resourceadapter>
+</ns2:connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml?rev=647930&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml Mon Apr 14 11:47:16 2008
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+           
+<!-- @version $Rev$ $Date$ -->
+           
+<ns2:connector xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ns2="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" xmlns:ns3="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ns4="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" xmlns:ns5="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" xmlns:ns6="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:ns7="http://java.sun.com/xml/ns/persistence" xmlns:ns8="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" xmlns:ns9="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0">
+    <environment>
+        <moduleId>
+            <groupId>geronimo</groupId>
+            <artifactId>test-ear</artifactId>
+            <version>1.0</version>
+            <type>car</type>
+        </moduleId>
+    </environment>
+    <ns2:resourceadapter>
+        <ns2:resourceadapter-instance>
+            <ns2:resourceadapter-name>testRA</ns2:resourceadapter-name>
+            <ns2:config-property-setting name="RAStringProperty">NewStringValue</ns2:config-property-setting>
+        </ns2:resourceadapter-instance>
+        <ns2:outbound-resourceadapter>
+            <ns2:connection-definition>
+                <ns2:connectionfactory-interface>javax.resource.cci.ConnectionFactory</ns2:connectionfactory-interface>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>FirstTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty1">newvalue1</ns2:config-property-setting>
+                    <ns2:config-property-setting name="OutboundStringProperty3">newvalue2</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:container-managed-security/>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:partitioned-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                            <ns2:partition-by-subject/>
+                        </ns2:partitioned-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>SecondTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty4">newvalue3</ns2:config-property-setting>
+                    <ns2:config-property-setting name="OutboundStringProperty1">newvalue4</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:container-managed-security/>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:partitioned-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                            <ns2:partition-by-subject/>
+                        </ns2:partitioned-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+            </ns2:connection-definition>
+            <ns2:connection-definition>
+                <ns2:connectionfactory-interface>
+                    org.apache.geronimo.connector.mock.ConnectionFactoryExtension</ns2:connectionfactory-interface>
+                <ns2:connectiondefinition-instance>
+                    <ns2:name>ThirdTestOutboundConnectionFactory</ns2:name>
+                    <ns2:config-property-setting name="OutboundStringProperty1">StringValue3</ns2:config-property-setting>
+                    <ns2:connectionmanager>
+                        <ns2:container-managed-security/>
+                        <ns2:xa-transaction>
+                            <ns2:transaction-caching/>
+                        </ns2:xa-transaction>
+                        <ns2:partitioned-pool>
+                            <ns2:max-size>10</ns2:max-size>
+                            <ns2:blocking-timeout-milliseconds>5000</ns2:blocking-timeout-milliseconds>
+                            <ns2:match-one/>
+                            <ns2:partition-by-subject/>
+                        </ns2:partitioned-pool>
+                    </ns2:connectionmanager>
+                </ns2:connectiondefinition-instance>
+            </ns2:connection-definition>
+        </ns2:outbound-resourceadapter>
+    </ns2:resourceadapter>
+    <ns2:adminobject>
+        <ns2:adminobject-interface>org.apache.geronimo.connector.mock.MockAdminObject</ns2:adminobject-interface>
+        <ns2:adminobject-class>org.apache.geronimo.connector.mock.MockAdminObjectImpl</ns2:adminobject-class>
+        <ns2:adminobject-instance>
+            <ns2:message-destination-name>tweedledee</ns2:message-destination-name>
+            <ns2:config-property-setting name="Tweedle">Dee-value</ns2:config-property-setting>
+        </ns2:adminobject-instance>
+        <ns2:adminobject-instance>
+            <ns2:message-destination-name>tweedledum</ns2:message-destination-name>
+            <ns2:config-property-setting name="Tweedle">Dum-value</ns2:config-property-setting>
+        </ns2:adminobject-instance>
+    </ns2:adminobject>
+</ns2:connector>

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/test/resources/connector/geronimo-ra-expected-3.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message