You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2007/01/23 09:29:41 UTC

svn commit: r498953 - in /incubator/openejb/trunk/openejb3/container/openejb-jee/src: main/java/org/apache/openejb/jee/oej2/ test/java/org/apache/openejb/jee/oej2/ test/resources/

Author: dblevins
Date: Tue Jan 23 00:29:38 2007
New Revision: 498953

URL: http://svn.apache.org/viewvc?view=rev&rev=498953
Log:
Conversion of jndi enc info

Modified:
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/GeronimoEjbJarType.java
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/SessionBeanType.java
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/ConversionTest.java
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-converted.xml
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/GeronimoEjbJarType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/GeronimoEjbJarType.java?view=diff&rev=498953&r1=498952&r2=498953
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/GeronimoEjbJarType.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/GeronimoEjbJarType.java Tue Jan 23 00:29:38 2007
@@ -42,7 +42,12 @@
 @XmlType(name = "geronimo-ejb-jarType", namespace = "http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0", propOrder = {
     "environment",
     "openejbJar",
-    "jndiEnvironmentRefsGroup",
+    "abstractNamingEntry",
+    "ejbRef",
+    "ejbLocalRef",
+    "serviceRef",
+    "resourceRef",
+    "resourceEnvRef",
     "messageDestination",
     "security",
     "service"
@@ -55,15 +60,19 @@
     @XmlAnyElement(lax = true)
     protected Object openejbJar;
 
-    @XmlElementRefs({
-        @XmlElementRef(name = "resource-env-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
-        @XmlElementRef(name = "ejb-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
-        @XmlElementRef(name = "ejb-local-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
-        @XmlElementRef(name = "resource-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
-        @XmlElementRef(name = "service-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
-        @XmlElementRef(name = "abstract-naming-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class)
-    })
-    protected List<JAXBElement<?>> jndiEnvironmentRefsGroup;
+    @XmlElementRef(name = "abstract-naming-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class)
+    protected List<JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry;
+    @XmlElement(name = "ejb-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+    protected List<EjbRefType> ejbRef;
+    @XmlElement(name = "ejb-local-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+    protected List<EjbLocalRefType> ejbLocalRef;
+    @XmlElement(name = "service-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+    protected List<ServiceRefType> serviceRef;
+    @XmlElement(name = "resource-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+    protected List<ResourceRefType> resourceRef;
+    @XmlElement(name = "resource-env-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+    protected List<ResourceEnvRefType> resourceEnvRef;
+
 
     @XmlElement(name = "message-destination", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
     protected List<MessageDestinationType> messageDestination;
@@ -129,12 +138,56 @@
      *
      *
      */
-    public List<JAXBElement<?>> getJndiEnvironmentRefsGroup() {
-        if (jndiEnvironmentRefsGroup == null) {
-            jndiEnvironmentRefsGroup = new ArrayList<JAXBElement<?>>();
+//    public List<Object> getJndiEnvironmentRefsGroup() {
+//        if (jndiEnvironmentRefsGroup == null) {
+//            jndiEnvironmentRefsGroup = new ArrayList<Object>();
+//        }
+//        return this.jndiEnvironmentRefsGroup;
+//    }
+
+    public List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry() {
+        if (abstractNamingEntry == null) {
+            abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntryType>>();
+        }
+        return this.abstractNamingEntry;
+    }
+
+    public List<EjbRefType> getEjbRef() {
+        if (ejbRef == null) {
+            ejbRef = new ArrayList<EjbRefType>();
+        }
+        return this.ejbRef;
+    }
+
+    public List<EjbLocalRefType> getEjbLocalRef() {
+        if (ejbLocalRef == null) {
+            ejbLocalRef = new ArrayList<EjbLocalRefType>();
+        }
+        return this.ejbLocalRef;
+    }
+
+    public List<ServiceRefType> getServiceRef() {
+        if (serviceRef == null) {
+            serviceRef = new ArrayList<ServiceRefType>();
         }
-        return this.jndiEnvironmentRefsGroup;
+        return this.serviceRef;
     }
+
+    public List<ResourceRefType> getResourceRef() {
+        if (resourceRef == null) {
+            resourceRef = new ArrayList<ResourceRefType>();
+        }
+        return this.resourceRef;
+    }
+
+    public List<ResourceEnvRefType> getResourceEnvRef() {
+        if (resourceEnvRef == null) {
+            resourceEnvRef = new ArrayList<ResourceEnvRefType>();
+        }
+        return this.resourceEnvRef;
+    }
+
+
 
     /**
      * Gets the value of the messageDestination property.

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/SessionBeanType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/SessionBeanType.java?view=diff&rev=498953&r1=498952&r2=498953
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/SessionBeanType.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/SessionBeanType.java Tue Jan 23 00:29:38 2007
@@ -278,31 +278,6 @@
         this.tss = value;
     }
 
-    /**
-     * Gets the value of the abstractNamingEntry property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the abstractNamingEntry property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getAbstractNamingEntry().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link JAXBElement }{@code <}{@link AbstractNamingEntryType }{@code >}
-     * {@link JAXBElement }{@code <}{@link PersistenceContextRefType }{@code >}
-     * {@link JAXBElement }{@code <}{@link EntityManagerFactoryRefType }{@code >}
-     * {@link JAXBElement }{@code <}{@link GbeanRefType }{@code >}
-     * 
-     * 
-     */
     public List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry() {
         if (abstractNamingEntry == null) {
             abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntryType>>();
@@ -310,28 +285,6 @@
         return this.abstractNamingEntry;
     }
 
-    /**
-     * Gets the value of the ejbRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getEjbRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EjbRefType }
-     * 
-     * 
-     */
     public List<EjbRefType> getEjbRef() {
         if (ejbRef == null) {
             ejbRef = new ArrayList<EjbRefType>();
@@ -339,28 +292,6 @@
         return this.ejbRef;
     }
 
-    /**
-     * Gets the value of the ejbLocalRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getEjbLocalRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EjbLocalRefType }
-     * 
-     * 
-     */
     public List<EjbLocalRefType> getEjbLocalRef() {
         if (ejbLocalRef == null) {
             ejbLocalRef = new ArrayList<EjbLocalRefType>();
@@ -368,28 +299,6 @@
         return this.ejbLocalRef;
     }
 
-    /**
-     * Gets the value of the serviceRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getServiceRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ServiceRefType }
-     * 
-     * 
-     */
     public List<ServiceRefType> getServiceRef() {
         if (serviceRef == null) {
             serviceRef = new ArrayList<ServiceRefType>();
@@ -397,28 +306,6 @@
         return this.serviceRef;
     }
 
-    /**
-     * Gets the value of the resourceRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getResourceRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceRefType }
-     * 
-     * 
-     */
     public List<ResourceRefType> getResourceRef() {
         if (resourceRef == null) {
             resourceRef = new ArrayList<ResourceRefType>();
@@ -426,28 +313,6 @@
         return this.resourceRef;
     }
 
-    /**
-     * Gets the value of the resourceEnvRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getResourceEnvRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceEnvRefType }
-     * 
-     * 
-     */
     public List<ResourceEnvRefType> getResourceEnvRef() {
         if (resourceEnvRef == null) {
             resourceEnvRef = new ArrayList<ResourceEnvRefType>();

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/ConversionTest.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/ConversionTest.java?view=diff&rev=498953&r1=498952&r2=498953
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/ConversionTest.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/ConversionTest.java Tue Jan 23 00:29:38 2007
@@ -41,10 +41,13 @@
         g2.getService().addAll(o2.getService());
         g2.getMessageDestination().addAll(o2.getMessageDestination());
 
-        List<JAXBElement<?>> jndi = g2.getJndiEnvironmentRefsGroup();
         for (EnterpriseBean bean : o2.getEnterpriseBeans()) {
-            jndi.addAll(bean.getAbstractNamingEntry());
-            //
+            g2.getAbstractNamingEntry().addAll(bean.getAbstractNamingEntry());
+            g2.getEjbLocalRef().addAll(bean.getEjbLocalRef());
+            g2.getEjbRef().addAll(bean.getEjbRef());
+            g2.getResourceEnvRef().addAll(bean.getResourceEnvRef());
+            g2.getResourceRef().addAll(bean.getResourceRef());
+            g2.getServiceRef().addAll(bean.getServiceRef());
         }
 
         JAXBElement root = new JAXBElement(new QName("http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0","ejb-jar"), GeronimoEjbJarType.class, g2);

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-converted.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-converted.xml?view=diff&rev=498953&r1=498952&r2=498953
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-converted.xml (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-converted.xml Tue Jan 23 00:29:38 2007
@@ -86,6 +86,278 @@
             <ns2:value>String</ns2:value>
         </ns2:property>
     </ns2:persistence-context-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
+    <ns2:service-ref>
+        <ns2:service-ref-name>String</ns2:service-ref-name>
+        <ns2:service-completion>
+            <ns2:service-name>String</ns2:service-name>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+        </ns2:service-completion>
+    </ns2:service-ref>
+    <ns2:service-ref>
+        <ns2:service-ref-name>String</ns2:service-ref-name>
+        <ns2:service-completion>
+            <ns2:service-name>String</ns2:service-name>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+        </ns2:service-completion>
+    </ns2:service-ref>
+    <ns2:service-ref>
+        <ns2:service-ref-name>String</ns2:service-ref-name>
+        <ns2:service-completion>
+            <ns2:service-name>String</ns2:service-name>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+        </ns2:service-completion>
+    </ns2:service-ref>
+    <ns2:service-ref>
+        <ns2:service-ref-name>String</ns2:service-ref-name>
+        <ns2:service-completion>
+            <ns2:service-name>String</ns2:service-name>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+            <ns2:port-completion>
+                <ns2:port>
+                    <ns2:port-name>String</ns2:port-name>
+                    <ns2:protocol>String</ns2:protocol>
+                    <ns2:host>String</ns2:host>
+                    <ns2:port>0</ns2:port>
+                    <ns2:uri>String</ns2:uri>
+                    <ns2:credentials-name>String</ns2:credentials-name>
+                </ns2:port>
+                <ns2:binding-name>String</ns2:binding-name>
+            </ns2:port-completion>
+        </ns2:service-completion>
+    </ns2:service-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
     <ns2:message-destination>
         <ns2:message-destination-name>String</ns2:message-destination-name>
         <ns2:pattern>

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml?view=diff&rev=498953&r1=498952&r2=498953
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml Tue Jan 23 00:29:38 2007
@@ -62,6 +62,32 @@
             <ns2:value>String</ns2:value>
         </ns2:property>
     </ns2:persistence-context-ref>
+    <ns2:persistence-context-ref>
+        <ns2:persistence-context-ref-name>String</ns2:persistence-context-ref-name>
+        <ns2:persistence-unit-name>String</ns2:persistence-unit-name>
+        <ns2:persistence-context-type>transaction-scoped</ns2:persistence-context-type>
+        <ns2:property>
+            <ns2:key>String</ns2:key>
+            <ns2:value>String</ns2:value>
+        </ns2:property>
+        <ns2:property>
+            <ns2:key>String</ns2:key>
+            <ns2:value>String</ns2:value>
+        </ns2:property>
+    </ns2:persistence-context-ref>
+    <ns2:persistence-context-ref>
+        <ns2:persistence-context-ref-name>String</ns2:persistence-context-ref-name>
+        <ns2:persistence-unit-name>String</ns2:persistence-unit-name>
+        <ns2:persistence-context-type>transaction-scoped</ns2:persistence-context-type>
+        <ns2:property>
+            <ns2:key>String</ns2:key>
+            <ns2:value>String</ns2:value>
+        </ns2:property>
+        <ns2:property>
+            <ns2:key>String</ns2:key>
+            <ns2:value>String</ns2:value>
+        </ns2:property>
+    </ns2:persistence-context-ref>
     <ns2:ejb-ref>
         <ns2:ref-name>String</ns2:ref-name>
         <ns2:pattern>
@@ -82,6 +108,46 @@
             <ns2:name>String</ns2:name>
         </ns2:pattern>
     </ns2:ejb-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
+    <ns2:ejb-local-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:ejb-local-ref>
     <ns2:ejb-local-ref>
         <ns2:ref-name>String</ns2:ref-name>
         <ns2:pattern>
@@ -158,112 +224,6 @@
             </ns2:port-completion>
         </ns2:service-completion>
     </ns2:service-ref>
-    <ns2:resource-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:resource-ref>
-    <ns2:resource-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:resource-ref>
-    <ns2:resource-env-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:resource-env-ref>
-    <ns2:resource-env-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:resource-env-ref>
-    <ns2:persistence-context-ref>
-        <ns2:persistence-context-ref-name>String</ns2:persistence-context-ref-name>
-        <ns2:persistence-unit-name>String</ns2:persistence-unit-name>
-        <ns2:persistence-context-type>transaction-scoped</ns2:persistence-context-type>
-        <ns2:property>
-            <ns2:key>String</ns2:key>
-            <ns2:value>String</ns2:value>
-        </ns2:property>
-        <ns2:property>
-            <ns2:key>String</ns2:key>
-            <ns2:value>String</ns2:value>
-        </ns2:property>
-    </ns2:persistence-context-ref>
-    <ns2:persistence-context-ref>
-        <ns2:persistence-context-ref-name>String</ns2:persistence-context-ref-name>
-        <ns2:persistence-unit-name>String</ns2:persistence-unit-name>
-        <ns2:persistence-context-type>transaction-scoped</ns2:persistence-context-type>
-        <ns2:property>
-            <ns2:key>String</ns2:key>
-            <ns2:value>String</ns2:value>
-        </ns2:property>
-        <ns2:property>
-            <ns2:key>String</ns2:key>
-            <ns2:value>String</ns2:value>
-        </ns2:property>
-    </ns2:persistence-context-ref>
-    <ns2:ejb-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:ejb-ref>
-    <ns2:ejb-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:ejb-ref>
-    <ns2:ejb-local-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:ejb-local-ref>
-    <ns2:ejb-local-ref>
-        <ns2:ref-name>String</ns2:ref-name>
-        <ns2:pattern>
-            <ns2:groupId>String</ns2:groupId>
-            <ns2:artifactId>String</ns2:artifactId>
-            <ns2:version>String</ns2:version>
-            <ns2:module>String</ns2:module>
-            <ns2:name>String</ns2:name>
-        </ns2:pattern>
-    </ns2:ejb-local-ref>
     <ns2:service-ref>
         <ns2:service-ref-name>String</ns2:service-ref-name>
         <ns2:service-completion>
@@ -340,6 +300,46 @@
             <ns2:name>String</ns2:name>
         </ns2:pattern>
     </ns2:resource-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
+    <ns2:resource-env-ref>
+        <ns2:ref-name>String</ns2:ref-name>
+        <ns2:pattern>
+            <ns2:groupId>String</ns2:groupId>
+            <ns2:artifactId>String</ns2:artifactId>
+            <ns2:version>String</ns2:version>
+            <ns2:module>String</ns2:module>
+            <ns2:name>String</ns2:name>
+        </ns2:pattern>
+    </ns2:resource-env-ref>
     <ns2:resource-env-ref>
         <ns2:ref-name>String</ns2:ref-name>
         <ns2:pattern>