tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r593657 - in /openejb/trunk/openejb3/container/openejb-jee/src: main/java/org/apache/openejb/jee/wls/ test/java/org/apache/openejb/jee/wls/ test/resources/
Date Fri, 09 Nov 2007 21:33:13 GMT
Author: dblevins
Date: Fri Nov  9 13:33:12 2007
New Revision: 593657

URL: http://svn.apache.org/viewvc?rev=593657&view=rev
Log:
Test for wls descriptors and support for the v8 schema with deprecated reference-descriptor
element.

Added:
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/ReferenceDescriptor.java
    openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/
    openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/JaxbWlsTest.java
    openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-ejb-jar.xml
    openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-v81-ejb-jar.xml
Modified:
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicEnterpriseBean.java

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/ReferenceDescriptor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/ReferenceDescriptor.java?rev=593657&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/ReferenceDescriptor.java
(added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/ReferenceDescriptor.java
Fri Nov  9 13:33:12 2007
@@ -0,0 +1,217 @@
+/**
+ * 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.openejb.jee.wls;
+
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ * <p>Java class for resource-description complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * &lt;complexType name="resource-description">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="res-ref-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;group ref="{http://www.bea.com/ns/weblogic/90}resource-lookup"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "reference-descriptor", propOrder = {
+        "resourceDescription",
+        "resourceEnvDescription",
+        "ejbReferenceDescription",
+        "serviceReferenceDescription"
+})
+public class ReferenceDescriptor {
+
+    @XmlElement(name = "resource-description")
+    protected List<ResourceDescription> resourceDescription;
+
+    @XmlElement(name = "resource-env-description")
+    protected List<ResourceEnvDescription> resourceEnvDescription;
+
+    @XmlElement(name = "ejb-reference-description")
+    protected List<EjbReferenceDescription> ejbReferenceDescription;
+
+    @XmlElement(name = "service-reference-description")
+    protected List<ServiceReferenceDescription> serviceReferenceDescription;
+
+    @XmlAttribute
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    protected String id;
+
+    /**
+     * Gets the value of the resourceDescription 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 resourceDescription
property.
+     *
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getResourceDescription().add(newItem);
+     * </pre>
+     *
+     *
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceDescription }
+     *
+     *
+     */
+    public List<ResourceDescription> getResourceDescription() {
+        if (resourceDescription == null) {
+            resourceDescription = new ArrayList<ResourceDescription>();
+        }
+        return this.resourceDescription;
+    }
+
+    /**
+     * Gets the value of the resourceEnvDescription 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 resourceEnvDescription
property.
+     *
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getResourceEnvDescription().add(newItem);
+     * </pre>
+     *
+     *
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceEnvDescription }
+     *
+     *
+     */
+    public List<ResourceEnvDescription> getResourceEnvDescription() {
+        if (resourceEnvDescription == null) {
+            resourceEnvDescription = new ArrayList<ResourceEnvDescription>();
+        }
+        return this.resourceEnvDescription;
+    }
+
+    /**
+     * Gets the value of the ejbReferenceDescription 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 ejbReferenceDescription
property.
+     *
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getEjbReferenceDescription().add(newItem);
+     * </pre>
+     *
+     *
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EjbReferenceDescription }
+     *
+     *
+     */
+    public List<EjbReferenceDescription> getEjbReferenceDescription() {
+        if (ejbReferenceDescription == null) {
+            ejbReferenceDescription = new ArrayList<EjbReferenceDescription>();
+        }
+        return this.ejbReferenceDescription;
+    }
+
+    /**
+     * Gets the value of the serviceReferenceDescription 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 serviceReferenceDescription
property.
+     *
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getServiceReferenceDescription().add(newItem);
+     * </pre>
+     *
+     *
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ServiceReferenceDescription }
+     *
+     *
+     */
+    public List<ServiceReferenceDescription> getServiceReferenceDescription() {
+        if (serviceReferenceDescription == null) {
+            serviceReferenceDescription = new ArrayList<ServiceReferenceDescription>();
+        }
+        return this.serviceReferenceDescription;
+    }
+
+    /**
+     * Gets the value of the id property.
+     *
+     * @return
+     *     possible object is
+     *     {@link String }
+     *
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+}

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicEnterpriseBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicEnterpriseBean.java?rev=593657&r1=593656&r2=593657&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicEnterpriseBean.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicEnterpriseBean.java
Fri Nov  9 13:33:12 2007
@@ -63,6 +63,7 @@
     "messageDrivenDescriptor",
     "transactionDescriptor",
     "iiopSecurityDescriptor",
+    "referenceDescriptor",
     "resourceDescription",
     "resourceEnvDescription",
     "ejbReferenceDescription",
@@ -102,6 +103,9 @@
     @XmlElement(name = "iiop-security-descriptor")
     protected IiopSecurityDescriptor iiopSecurityDescriptor;
 
+    @XmlElement(name = "reference-descriptor")
+    protected ReferenceDescriptor referenceDescriptor;
+
     @XmlElement(name = "resource-description")
     protected List<ResourceDescription> resourceDescription;
 
@@ -320,6 +324,14 @@
      */
     public void setIiopSecurityDescriptor(IiopSecurityDescriptor value) {
         this.iiopSecurityDescriptor = value;
+    }
+
+    public ReferenceDescriptor getReferenceDescriptor() {
+        return referenceDescriptor;
+    }
+
+    public void setReferenceDescriptor(ReferenceDescriptor referenceDescriptor) {
+        this.referenceDescriptor = referenceDescriptor;
     }
 
     /**

Added: openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/JaxbWlsTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/JaxbWlsTest.java?rev=593657&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/JaxbWlsTest.java
(added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/wls/JaxbWlsTest.java
Fri Nov  9 13:33:12 2007
@@ -0,0 +1,74 @@
+/**
+ * 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.openejb.jee.wls;
+
+import junit.framework.TestCase;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.ValidationEventHandler;
+import javax.xml.bind.ValidationEvent;
+import javax.xml.bind.JAXBElement;
+
+import java.io.InputStream;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.BufferedInputStream;
+
+/**
+ * @version $Revision: 500051 $ $Date: 2007-01-25 15:23:35 -0800 (Thu, 25 Jan 2007) $
+ */
+public class JaxbWlsTest extends TestCase {
+
+    public void testVersion9() throws Exception {
+        marshallAndUnmarshall("wls-ejb-jar.xml");
+    }
+
+    public void testVersion8() throws Exception {
+        marshallAndUnmarshall("wls-v81-ejb-jar.xml");
+    }
+
+    public void marshallAndUnmarshall(String xmlFile) throws Exception {
+
+        InputStream in = this.getClass().getClassLoader().getResourceAsStream(xmlFile);
+        String expected = readContent(in);
+
+        Object object = JaxbWls.unmarshal(WeblogicEjbJar.class, new ByteArrayInputStream(expected.getBytes()));
+
+        JAXBElement element = (JAXBElement) object;
+
+        WeblogicEjbJar ejbJar = (WeblogicEjbJar) element.getValue();
+
+        String actual = JaxbWls.marshal(WeblogicEjbJar.class, element);
+
+        assertEquals(expected, actual);
+    }
+
+    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;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-ejb-jar.xml?rev=593657&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-ejb-jar.xml (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-ejb-jar.xml Fri Nov
 9 13:33:12 2007
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90">
+    <description>description0</description>
+    <weblogic-enterprise-bean>
+        <ejb-name>ejb-name0</ejb-name>
+        <stateless-session-descriptor>
+            <pool>
+                <max-beans-in-free-pool>0</max-beans-in-free-pool>
+                <initial-beans-in-free-pool>0</initial-beans-in-free-pool>
+                <idle-timeout-seconds>0</idle-timeout-seconds>
+            </pool>
+            <timer-descriptor>
+                <persistent-store-logical-name>persistent-store-logical-name0</persistent-store-logical-name>
+            </timer-descriptor>
+            <stateless-clustering>
+                <home-is-clusterable>false</home-is-clusterable>
+                <home-load-algorithm>home-load-algorithm0</home-load-algorithm>
+                <home-call-router-class-name>home-call-router-class-name0</home-call-router-class-name>
+                <use-serverside-stubs>false</use-serverside-stubs>
+                <stateless-bean-is-clusterable>false</stateless-bean-is-clusterable>
+                <stateless-bean-load-algorithm>stateless-bean-load-algorithm0</stateless-bean-load-algorithm>
+                <stateless-bean-call-router-class-name>
+          stateless-bean-call-router-class-name0</stateless-bean-call-router-class-name>
+            </stateless-clustering>
+        </stateless-session-descriptor>
+        <transaction-descriptor>
+            <trans-timeout-seconds>0</trans-timeout-seconds>
+        </transaction-descriptor>
+        <iiop-security-descriptor>
+            <transport-requirements>
+                <integrity>integrity0</integrity>
+                <confidentiality>confidentiality0</confidentiality>
+                <client-cert-authentication>client-cert-authentication0</client-cert-authentication>
+            </transport-requirements>
+            <client-authentication>client-authentication0</client-authentication>
+            <identity-assertion>identity-assertion0</identity-assertion>
+        </iiop-security-descriptor>
+        <resource-description>
+            <res-ref-name>res-ref-name0</res-ref-name>
+            <resource-link>resource-link0</resource-link>
+        </resource-description>
+        <resource-env-description>
+            <resource-env-ref-name>resource-env-ref-name0</resource-env-ref-name>
+            <resource-link>resource-link1</resource-link>
+        </resource-env-description>
+        <ejb-reference-description>
+            <ejb-ref-name>ejb-ref-name0</ejb-ref-name>
+            <jndi-name>jndi-name0</jndi-name>
+        </ejb-reference-description>
+        <service-reference-description>
+            <service-ref-name>service-ref-name0</service-ref-name>
+            <wsdl-url>wsdl-url0</wsdl-url>
+            <call-property>
+                <name>name0</name>
+                <value>value0</value>
+            </call-property>
+            <port-info>
+                <port-name>port-name0</port-name>
+                <stub-property>
+                    <name>name1</name>
+                    <value>value1</value>
+                </stub-property>
+                <call-property>
+                    <name>name2</name>
+                    <value>value2</value>
+                </call-property>
+            </port-info>
+        </service-reference-description>
+        <enable-call-by-reference>false</enable-call-by-reference>
+        <network-access-point>network-access-point0</network-access-point>
+        <clients-on-same-server>false</clients-on-same-server>
+        <run-as-principal-name>run-as-principal-name0</run-as-principal-name>
+        <create-as-principal-name>create-as-principal-name0</create-as-principal-name>
+        <remove-as-principal-name>remove-as-principal-name0</remove-as-principal-name>
+        <passivate-as-principal-name>passivate-as-principal-name0</passivate-as-principal-name>
+        <jndi-name>jndi-name1</jndi-name>
+        <local-jndi-name>local-jndi-name0</local-jndi-name>
+        <dispatch-policy>dispatch-policy0</dispatch-policy>
+        <remote-client-timeout>0</remote-client-timeout>
+    </weblogic-enterprise-bean>
+    <security-role-assignment>
+        <role-name>role-name0</role-name>
+        <externally-defined/>
+    </security-role-assignment>
+    <run-as-role-assignment>
+        <role-name>role-name1</role-name>
+        <run-as-principal-name>run-as-principal-name1</run-as-principal-name>
+    </run-as-role-assignment>
+    <security-permission>
+        <description>description1</description>
+        <security-permission-spec>security-permission-spec0</security-permission-spec>
+    </security-permission>
+    <transaction-isolation>
+        <isolation-level>isolation-level0</isolation-level>
+        <method>
+            <description>description2</description>
+            <ejb-name>ejb-name1</ejb-name>
+            <method-intf>method-intf0</method-intf>
+            <method-name>method-name0</method-name>
+            <method-params>
+                <method-param>method-param0</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description3</description>
+            <ejb-name>ejb-name2</ejb-name>
+            <method-intf>method-intf1</method-intf>
+            <method-name>method-name1</method-name>
+            <method-params>
+                <method-param>method-param1</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description4</description>
+            <ejb-name>ejb-name3</ejb-name>
+            <method-intf>method-intf2</method-intf>
+            <method-name>method-name2</method-name>
+            <method-params>
+                <method-param>method-param2</method-param>
+            </method-params>
+        </method>
+    </transaction-isolation>
+    <message-destination-descriptor>
+        <message-destination-name>message-destination-name0</message-destination-name>
+        <destination-resource-link>destination-resource-link0</destination-resource-link>
+    </message-destination-descriptor>
+    <idempotent-methods>
+        <method>
+            <description>description5</description>
+            <ejb-name>ejb-name4</ejb-name>
+            <method-intf>method-intf3</method-intf>
+            <method-name>method-name3</method-name>
+            <method-params>
+                <method-param>method-param3</method-param>
+            </method-params>
+        </method>
+    </idempotent-methods>
+    <retry-methods-on-rollback>
+        <description>description6</description>
+        <retry-count>0</retry-count>
+        <method>
+            <description>description7</description>
+            <ejb-name>ejb-name5</ejb-name>
+            <method-intf>method-intf4</method-intf>
+            <method-name>method-name4</method-name>
+            <method-params>
+                <method-param>method-param4</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description8</description>
+            <ejb-name>ejb-name6</ejb-name>
+            <method-intf>method-intf5</method-intf>
+            <method-name>method-name5</method-name>
+            <method-params>
+                <method-param>method-param5</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description9</description>
+            <ejb-name>ejb-name7</ejb-name>
+            <method-intf>method-intf6</method-intf>
+            <method-name>method-name6</method-name>
+            <method-params>
+                <method-param>method-param6</method-param>
+            </method-params>
+        </method>
+    </retry-methods-on-rollback>
+    <enable-bean-class-redeploy>false</enable-bean-class-redeploy>
+    <disable-warning>disable-warning0</disable-warning>
+    <work-manager>
+        <name>name3</name>
+        <response-time-request-class>
+            <name>name4</name>
+            <goal-ms>0</goal-ms>
+        </response-time-request-class>
+        <min-threads-constraint>
+            <name>name5</name>
+            <count>0</count>
+        </min-threads-constraint>
+        <max-threads-constraint>
+            <name>name6</name>
+            <count>0</count>
+        </max-threads-constraint>
+        <capacity-name>capacity-name0</capacity-name>
+        <work-manager-shutdown-trigger>
+            <max-stuck-thread-time>0</max-stuck-thread-time>
+            <stuck-thread-count>0</stuck-thread-count>
+        </work-manager-shutdown-trigger>
+    </work-manager>
+    <weblogic-compatibility>
+        <entity-always-uses-transaction>false</entity-always-uses-transaction>
+    </weblogic-compatibility>
+</weblogic-ejb-jar>

Added: openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-v81-ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-v81-ejb-jar.xml?rev=593657&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-v81-ejb-jar.xml (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/test/resources/wls-v81-ejb-jar.xml Fri
Nov  9 13:33:12 2007
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90">
+    <description>description0</description>
+    <weblogic-enterprise-bean>
+        <ejb-name>ejb-name0</ejb-name>
+        <stateful-session-descriptor>
+            <stateful-session-cache>
+                <max-beans-in-cache>0</max-beans-in-cache>
+                <idle-timeout-seconds>0</idle-timeout-seconds>
+                <session-timeout-seconds>0</session-timeout-seconds>
+                <cache-type>cache-type0</cache-type>
+            </stateful-session-cache>
+            <persistent-store-dir>persistent-store-dir0</persistent-store-dir>
+            <stateful-session-clustering>
+                <home-is-clusterable>false</home-is-clusterable>
+                <home-load-algorithm>home-load-algorithm0</home-load-algorithm>
+                <home-call-router-class-name>home-call-router-class-name0</home-call-router-class-name>
+                <use-serverside-stubs>false</use-serverside-stubs>
+                <replication-type>replication-type0</replication-type>
+            </stateful-session-clustering>
+            <allow-concurrent-calls>false</allow-concurrent-calls>
+            <allow-remove-during-transaction>false</allow-remove-during-transaction>
+        </stateful-session-descriptor>
+        <transaction-descriptor>
+            <trans-timeout-seconds>0</trans-timeout-seconds>
+        </transaction-descriptor>
+        <iiop-security-descriptor>
+            <transport-requirements>
+                <integrity>integrity0</integrity>
+                <confidentiality>confidentiality0</confidentiality>
+                <client-cert-authentication>client-cert-authentication0</client-cert-authentication>
+            </transport-requirements>
+            <client-authentication>client-authentication0</client-authentication>
+            <identity-assertion>identity-assertion0</identity-assertion>
+        </iiop-security-descriptor>
+        <reference-descriptor>
+            <resource-description>
+                <res-ref-name>res-ref-name0</res-ref-name>
+                <jndi-name>jndi-name0</jndi-name>
+            </resource-description>
+            <resource-env-description>
+                <resource-env-ref-name>resource-env-ref-name0</resource-env-ref-name>
+                <jndi-name>jndi-name1</jndi-name>
+            </resource-env-description>
+            <ejb-reference-description>
+                <ejb-ref-name>ejb-ref-name0</ejb-ref-name>
+                <jndi-name>jndi-name2</jndi-name>
+            </ejb-reference-description>
+            <service-reference-description>
+                <service-ref-name>service-ref-name0</service-ref-name>
+                <wsdl-url>wsdl-url0</wsdl-url>
+                <call-property>
+                    <name>name0</name>
+                    <value>value0</value>
+                </call-property>
+                <port-info>
+                    <port-name>port-name0</port-name>
+                    <stub-property>
+                        <name>name1</name>
+                        <value>value1</value>
+                    </stub-property>
+                    <call-property>
+                        <name>name2</name>
+                        <value>value2</value>
+                    </call-property>
+                </port-info>
+            </service-reference-description>
+        </reference-descriptor>
+        <resource-description>
+            <res-ref-name>res-ref-name0</res-ref-name>
+            <jndi-name>jndi-name0</jndi-name>
+        </resource-description>
+        <resource-env-description>
+            <resource-env-ref-name>resource-env-ref-name0</resource-env-ref-name>
+            <jndi-name>jndi-name1</jndi-name>
+        </resource-env-description>
+        <ejb-reference-description>
+            <ejb-ref-name>ejb-ref-name0</ejb-ref-name>
+            <jndi-name>jndi-name2</jndi-name>
+        </ejb-reference-description>
+        <service-reference-description>
+            <service-ref-name>service-ref-name0</service-ref-name>
+            <wsdl-url>wsdl-url0</wsdl-url>
+            <call-property>
+                <name>name0</name>
+                <value>value0</value>
+            </call-property>
+            <port-info>
+                <port-name>port-name0</port-name>
+                <stub-property>
+                    <name>name1</name>
+                    <value>value1</value>
+                </stub-property>
+                <call-property>
+                    <name>name2</name>
+                    <value>value2</value>
+                </call-property>
+            </port-info>
+        </service-reference-description>
+        <enable-call-by-reference>false</enable-call-by-reference>
+        <network-access-point>network-access-point0</network-access-point>
+        <clients-on-same-server>false</clients-on-same-server>
+        <run-as-principal-name>run-as-principal-name0</run-as-principal-name>
+        <create-as-principal-name>create-as-principal-name0</create-as-principal-name>
+        <remove-as-principal-name>remove-as-principal-name0</remove-as-principal-name>
+        <passivate-as-principal-name>passivate-as-principal-name0</passivate-as-principal-name>
+        <jndi-name>jndi-name3</jndi-name>
+        <local-jndi-name>local-jndi-name0</local-jndi-name>
+        <dispatch-policy>dispatch-policy0</dispatch-policy>
+        <remote-client-timeout>0</remote-client-timeout>
+    </weblogic-enterprise-bean>
+    <security-role-assignment>
+        <role-name>role-name0</role-name>
+        <principal-name>principal-name0</principal-name>
+        <principal-name>principal-name1</principal-name>
+        <principal-name>principal-name2</principal-name>
+    </security-role-assignment>
+    <run-as-role-assignment>
+        <role-name>role-name1</role-name>
+        <run-as-principal-name>run-as-principal-name1</run-as-principal-name>
+    </run-as-role-assignment>
+    <security-permission>
+        <description>description1</description>
+        <security-permission-spec>security-permission-spec0</security-permission-spec>
+    </security-permission>
+    <transaction-isolation>
+        <isolation-level>isolation-level0</isolation-level>
+        <method>
+            <description>description2</description>
+            <ejb-name>ejb-name1</ejb-name>
+            <method-intf>method-intf0</method-intf>
+            <method-name>method-name0</method-name>
+            <method-params>
+                <method-param>method-param0</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description3</description>
+            <ejb-name>ejb-name2</ejb-name>
+            <method-intf>method-intf1</method-intf>
+            <method-name>method-name1</method-name>
+            <method-params>
+                <method-param>method-param1</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description4</description>
+            <ejb-name>ejb-name3</ejb-name>
+            <method-intf>method-intf2</method-intf>
+            <method-name>method-name2</method-name>
+            <method-params>
+                <method-param>method-param2</method-param>
+            </method-params>
+        </method>
+    </transaction-isolation>
+    <message-destination-descriptor>
+        <message-destination-name>message-destination-name0</message-destination-name>
+        <destination-resource-link>destination-resource-link0</destination-resource-link>
+    </message-destination-descriptor>
+    <idempotent-methods>
+        <method>
+            <description>description5</description>
+            <ejb-name>ejb-name4</ejb-name>
+            <method-intf>method-intf3</method-intf>
+            <method-name>method-name3</method-name>
+            <method-params>
+                <method-param>method-param3</method-param>
+            </method-params>
+        </method>
+    </idempotent-methods>
+    <retry-methods-on-rollback>
+        <description>description6</description>
+        <retry-count>0</retry-count>
+        <method>
+            <description>description7</description>
+            <ejb-name>ejb-name5</ejb-name>
+            <method-intf>method-intf4</method-intf>
+            <method-name>method-name4</method-name>
+            <method-params>
+                <method-param>method-param4</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description8</description>
+            <ejb-name>ejb-name6</ejb-name>
+            <method-intf>method-intf5</method-intf>
+            <method-name>method-name5</method-name>
+            <method-params>
+                <method-param>method-param5</method-param>
+            </method-params>
+        </method>
+        <method>
+            <description>description9</description>
+            <ejb-name>ejb-name7</ejb-name>
+            <method-intf>method-intf6</method-intf>
+            <method-name>method-name6</method-name>
+            <method-params>
+                <method-param>method-param6</method-param>
+            </method-params>
+        </method>
+    </retry-methods-on-rollback>
+    <enable-bean-class-redeploy>false</enable-bean-class-redeploy>
+    <disable-warning>disable-warning0</disable-warning>
+    <work-manager>
+        <name>name3</name>
+        <request-class-name>request-class-name0</request-class-name>
+        <min-threads-constraint-name>min-threads-constraint-name0</min-threads-constraint-name>
+        <max-threads-constraint-name>max-threads-constraint-name0</max-threads-constraint-name>
+        <capacity>
+            <name>name4</name>
+            <count>0</count>
+        </capacity>
+        <ignore-stuck-threads>false</ignore-stuck-threads>
+    </work-manager>
+    <weblogic-compatibility>
+        <entity-always-uses-transaction>false</entity-always-uses-transaction>
+    </weblogic-compatibility>
+</weblogic-ejb-jar>



Mime
View raw message