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/22 05:36:14 UTC
svn commit: r498523 - in
/incubator/openejb/trunk/openejb3/container/openejb-jee/src:
main/java/org/apache/openejb/jee/g2/ test/java/org/apache/openejb/jee/oej2/
test/resources/
Author: dblevins
Date: Sun Jan 21 20:36:13 2007
New Revision: 498523
URL: http://svn.apache.org/viewvc?view=rev&rev=498523
Log:
Doesn't really work yet, but checking it in for backup
Added:
incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/ObjectFactory.java
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/g2/GeronimoEjbJar.java
incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/OpenejbJarTest.java
Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/GeronimoEjbJar.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/GeronimoEjbJar.java?view=diff&rev=498523&r1=498522&r2=498523
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/GeronimoEjbJar.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/GeronimoEjbJar.java Sun Jan 21 20:36:13 2007
@@ -34,10 +34,17 @@
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.JAXBElement;
import java.util.List;
+import java.util.ArrayList;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "geronimo-ejb-jarType", namespace = "http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0", propOrder = {
"environment",
+ "abstractNamingEntry",
+ "ejbRef",
+ "ejbLocalRef",
+ "serviceRef",
+ "resourceRef",
+ "resourceEnvRef",
"messageDestination",
"security",
"service"
@@ -72,4 +79,183 @@
@XmlElementRef(name = "service", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", type = JAXBElement.class)
protected List<JAXBElement<? extends AbstractServiceType>> service;
+
+
+ /**
+ * 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 org.apache.openejb.jee.oej2.PersistenceContextRefType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.EntityManagerFactoryRefType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.GbeanRefType }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry() {
+ if (abstractNamingEntry == null) {
+ abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntryType>>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ return this.resourceEnvRef;
+ }
+
}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/ObjectFactory.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/ObjectFactory.java?view=auto&rev=498523
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/ObjectFactory.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/g2/ObjectFactory.java Sun Jan 21 20:36:13 2007
@@ -0,0 +1,115 @@
+/**
+ * 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.g2;
+
+import org.apache.openejb.jee.oej2.EnvironmentType;
+import org.apache.openejb.jee.oej2.AbstractNamingEntryType;
+import org.apache.openejb.jee.oej2.AbstractServiceType;
+import org.apache.openejb.jee.oej2.PersistenceContextRefType;
+import org.apache.openejb.jee.oej2.EntityManagerFactoryRefType;
+
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.openejb.jee.oej2 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _PersistenceContextRef_QNAME = new QName("http://geronimo.apache.org/xml/ns/naming-1.2", "persistence-context-ref");
+ private final static QName _EntityManagerFactoryRef_QNAME = new QName("http://geronimo.apache.org/xml/ns/naming-1.2", "entity-manager-factory-ref");
+ private final static QName _GeronimoEjbJar_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0", "ejb-jar");
+ private final static QName _AbstractNamingEntry_QNAME = new QName("http://geronimo.apache.org/xml/ns/naming-1.2", "abstract-naming-entry");
+ private final static QName _Service_QNAME = new QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "service");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.jee.oej2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+
+ /**
+ * Create an instance of {@link org.apache.openejb.jee.oej2.EnvironmentType }
+ *
+ */
+ public EnvironmentType createEnvironmentType() {
+ return new EnvironmentType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.AbstractServiceType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", name = "service")
+ public JAXBElement<AbstractServiceType> createService(AbstractServiceType value) {
+ return new JAXBElement<AbstractServiceType>(_Service_QNAME, AbstractServiceType.class, null, value);
+ }
+
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.OpenejbJarType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0", name = "ejb-jar")
+ public JAXBElement<GeronimoEjbJar> createEjbJar(GeronimoEjbJar value) {
+ return new JAXBElement<GeronimoEjbJar>(_GeronimoEjbJar_QNAME, GeronimoEjbJar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.PersistenceContextRefType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", name = "persistence-context-ref", substitutionHeadNamespace = "http://geronimo.apache.org/xml/ns/naming-1.2", substitutionHeadName = "abstract-naming-entry")
+ public JAXBElement<PersistenceContextRefType> createPersistenceContextRef(PersistenceContextRefType value) {
+ return new JAXBElement<PersistenceContextRefType>(_PersistenceContextRef_QNAME, PersistenceContextRefType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link org.apache.openejb.jee.oej2.EntityManagerFactoryRefType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", name = "entity-manager-factory-ref", substitutionHeadNamespace = "http://geronimo.apache.org/xml/ns/naming-1.2", substitutionHeadName = "abstract-naming-entry")
+ public JAXBElement<EntityManagerFactoryRefType> createEntityManagerFactoryRef(EntityManagerFactoryRefType value) {
+ return new JAXBElement<EntityManagerFactoryRefType>(_EntityManagerFactoryRef_QNAME, EntityManagerFactoryRefType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AbstractNamingEntryType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", name = "abstract-naming-entry")
+ public JAXBElement<AbstractNamingEntryType> createAbstractNamingEntry(AbstractNamingEntryType value) {
+ return new JAXBElement<AbstractNamingEntryType>(_AbstractNamingEntry_QNAME, AbstractNamingEntryType.class, null, value);
+ }
+
+}
Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/OpenejbJarTest.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/OpenejbJarTest.java?view=diff&rev=498523&r1=498522&r2=498523
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/OpenejbJarTest.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/java/org/apache/openejb/jee/oej2/OpenejbJarTest.java Sun Jan 21 20:36:13 2007
@@ -18,6 +18,7 @@
import junit.framework.TestCase;
import org.xml.sax.InputSource;
+import org.apache.openejb.jee.g2.GeronimoEjbJar;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
@@ -52,9 +53,14 @@
unmarshalAndMarshal(OpenejbJarType.class, "openejb-jar-2-invalid.xml", "openejb-jar-2-full.xml");
}
+ public void _testGeronimoOpenejbXml() throws Exception {
+ unmarshalAndMarshal(GeronimoEjbJar.class, "geronimo-openejb-full.xml");
+ }
+
private <T> void unmarshalAndMarshal(Class<T> type, java.lang.String xmlFileName) throws Exception {
unmarshalAndMarshal(type, xmlFileName, xmlFileName);
}
+
private <T> void unmarshalAndMarshal(Class<T> type, java.lang.String xmlFileName, java.lang.String expectedFile) throws Exception {
JAXBContext ctx = JAXBContext.newInstance(type);
Unmarshaller unmarshaller = ctx.createUnmarshaller();
Added: 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=auto&rev=498523
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/geronimo-openejb-full.xml Sun Jan 21 20:36:13 2007
@@ -0,0 +1,391 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openejb:ejb-jar xmlns="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" xmlns:openejb="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2">
+ <sys:environment>
+ <sys:moduleId>
+ <sys:groupId>String</sys:groupId>
+ <sys:artifactId>String</sys:artifactId>
+ <sys:version>String</sys:version>
+ <sys:type>String</sys:type>
+ </sys:moduleId>
+ <sys:dependencies>
+ <sys:dependency>
+ <sys:groupId>String</sys:groupId>
+ <sys:artifactId>String</sys:artifactId>
+ <sys:version>String</sys:version>
+ <sys:type>String</sys:type>
+ <sys:import>classes</sys:import>
+ </sys:dependency>
+ <sys:dependency>
+ <sys:groupId>String</sys:groupId>
+ <sys:artifactId>String</sys:artifactId>
+ <sys:version>String</sys:version>
+ <sys:type>String</sys:type>
+ <sys:import>classes</sys:import>
+ </sys:dependency>
+ </sys:dependencies>
+ <sys:hidden-classes>
+ <sys:filter>String</sys:filter>
+ <sys:filter>String</sys:filter>
+ </sys:hidden-classes>
+ <sys:non-overridable-classes>
+ <sys:filter>String</sys:filter>
+ <sys:filter>String</sys:filter>
+ </sys:non-overridable-classes>
+ <sys:inverse-classloading/>
+ <sys:suppress-default-environment/>
+ </sys:environment>
+ <openejb:openejb-jar>
+ </openejb:openejb-jar>
+ <naming:persistence-context-ref>
+ <naming:persistence-context-ref-name>String</naming:persistence-context-ref-name>
+ <naming:persistence-unit-name>String</naming:persistence-unit-name>
+ <naming:persistence-context-type>transaction-scoped</naming:persistence-context-type>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ </naming:persistence-context-ref>
+ <naming:persistence-context-ref>
+ <naming:persistence-context-ref-name>String</naming:persistence-context-ref-name>
+ <naming:persistence-unit-name>String</naming:persistence-unit-name>
+ <naming:persistence-context-type>transaction-scoped</naming:persistence-context-type>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ </naming:persistence-context-ref>
+ <naming:ejb-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-ref>
+ <naming:ejb-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-ref>
+ <naming:ejb-local-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-local-ref>
+ <naming:ejb-local-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-local-ref>
+ <naming:service-ref>
+ <naming:service-ref-name>String</naming:service-ref-name>
+ <naming:service-completion>
+ <naming:service-name>String</naming:service-name>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ </naming:service-completion>
+ </naming:service-ref>
+ <naming:service-ref>
+ <naming:service-ref-name>String</naming:service-ref-name>
+ <naming:service-completion>
+ <naming:service-name>String</naming:service-name>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ </naming:service-completion>
+ </naming:service-ref>
+ <naming:resource-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-ref>
+ <naming:resource-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-ref>
+ <naming:resource-env-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-env-ref>
+ <naming:resource-env-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-env-ref>
+ <naming:persistence-context-ref>
+ <naming:persistence-context-ref-name>String</naming:persistence-context-ref-name>
+ <naming:persistence-unit-name>String</naming:persistence-unit-name>
+ <naming:persistence-context-type>transaction-scoped</naming:persistence-context-type>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ </naming:persistence-context-ref>
+ <naming:persistence-context-ref>
+ <naming:persistence-context-ref-name>String</naming:persistence-context-ref-name>
+ <naming:persistence-unit-name>String</naming:persistence-unit-name>
+ <naming:persistence-context-type>transaction-scoped</naming:persistence-context-type>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ <naming:property>
+ <naming:key>String</naming:key>
+ <naming:value>String</naming:value>
+ </naming:property>
+ </naming:persistence-context-ref>
+ <naming:ejb-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-ref>
+ <naming:ejb-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-ref>
+ <naming:ejb-local-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-local-ref>
+ <naming:ejb-local-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:ejb-local-ref>
+ <naming:service-ref>
+ <naming:service-ref-name>String</naming:service-ref-name>
+ <naming:service-completion>
+ <naming:service-name>String</naming:service-name>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ </naming:service-completion>
+ </naming:service-ref>
+ <naming:service-ref>
+ <naming:service-ref-name>String</naming:service-ref-name>
+ <naming:service-completion>
+ <naming:service-name>String</naming:service-name>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ <naming:port-completion>
+ <naming:port>
+ <naming:port-name>String</naming:port-name>
+ <naming:protocol>String</naming:protocol>
+ <naming:host>String</naming:host>
+ <naming:port>0</naming:port>
+ <naming:uri>String</naming:uri>
+ <naming:credentials-name>String</naming:credentials-name>
+ </naming:port>
+ <naming:binding-name>String</naming:binding-name>
+ </naming:port-completion>
+ </naming:service-completion>
+ </naming:service-ref>
+ <naming:resource-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-ref>
+ <naming:resource-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-ref>
+ <naming:resource-env-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-env-ref>
+ <naming:resource-env-ref>
+ <naming:ref-name>String</naming:ref-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:resource-env-ref>
+ <naming:message-destination>
+ <naming:message-destination-name>String</naming:message-destination-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:message-destination>
+ <naming:message-destination>
+ <naming:message-destination-name>String</naming:message-destination-name>
+ <naming:pattern>
+ <naming:groupId>String</naming:groupId>
+ <naming:artifactId>String</naming:artifactId>
+ <naming:version>String</naming:version>
+ <naming:module>String</naming:module>
+ <naming:name>String</naming:name>
+ </naming:pattern>
+ </naming:message-destination>
+ <sys:gbean name="String" class="String">
+ <sys:attribute type="String" name="String">String</sys:attribute>
+ <sys:attribute type="String" name="String">String</sys:attribute>
+ </sys:gbean>
+ <sys:gbean name="String" class="String">
+ <sys:attribute type="String" name="String">String</sys:attribute>
+ <sys:attribute type="String" name="String">String</sys:attribute>
+ </sys:gbean>
+</openejb:ejb-jar>