You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by mn...@apache.org on 2009/11/05 00:48:42 UTC

svn commit: r832913 [2/12] - in /openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was: ./ v6/ v6/common/ v6/commonbnd/ v6/ecore/ v6/ejb/ v6/ejbbnd/ v6/java/ v6/webservice/ v6/webservice/clientbnd/ v6/wsclient/ v6/xmi/

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/IconType.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/IconType.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/IconType.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/IconType.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,343 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.4 The icon type contains small-icon and large-icon elements that
+ *        specify the file names for small and large GIF or JPEG icon images
+ *        used to represent the parent element in a GUI tool.
+ * 
+ *        The xml:lang attribute defines the language that the icon file names
+ *        are provided in. Its value is "en" (English) by default.
+ * 
+ * 
+ *        <p>
+ *        Java class for IconType complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="IconType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="largeIcon" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="smallIcon" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "IconType", propOrder = { "extensions" })
+public class IconType {
+
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String lang;
+	@XmlAttribute
+	protected String largeIcon;
+	@XmlAttribute
+	protected String smallIcon;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+	@XmlID
+	protected String id;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected QName type;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String version;
+	@XmlAttribute
+	protected String href;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlIDREF
+	protected Object idref;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String label;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String uuid;
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Extension }
+	 * 
+	 * 
+	 */
+	public List<Extension> getExtensions() {
+		if (extensions == null) {
+			extensions = new ArrayList<Extension>();
+		}
+		return this.extensions;
+	}
+
+	/**
+	 * Gets the value of the lang property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLang() {
+		return lang;
+	}
+
+	/**
+	 * Sets the value of the lang property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLang(String value) {
+		this.lang = value;
+	}
+
+	/**
+	 * Gets the value of the largeIcon property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLargeIcon() {
+		return largeIcon;
+	}
+
+	/**
+	 * Sets the value of the largeIcon property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLargeIcon(String value) {
+		this.largeIcon = value;
+	}
+
+	/**
+	 * Gets the value of the smallIcon property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getSmallIcon() {
+		return smallIcon;
+	}
+
+	/**
+	 * Sets the value of the smallIcon property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setSmallIcon(String value) {
+		this.smallIcon = value;
+	}
+
+	/**
+	 * 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;
+	}
+
+	/**
+	 * Gets the value of the type property.
+	 * 
+	 * @return possible object is {@link QName }
+	 * 
+	 */
+	public QName getType() {
+		return type;
+	}
+
+	/**
+	 * Sets the value of the type property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link QName }
+	 * 
+	 */
+	public void setType(QName value) {
+		this.type = value;
+	}
+
+	/**
+	 * Gets the value of the version property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getVersion() {
+		if (version == null) {
+			return "2.0";
+		} else {
+			return version;
+		}
+	}
+
+	/**
+	 * Sets the value of the version property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setVersion(String value) {
+		this.version = value;
+	}
+
+	/**
+	 * Gets the value of the href property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getHref() {
+		return href;
+	}
+
+	/**
+	 * Sets the value of the href property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setHref(String value) {
+		this.href = value;
+	}
+
+	/**
+	 * Gets the value of the idref property.
+	 * 
+	 * @return possible object is {@link Object }
+	 * 
+	 */
+	public Object getIdref() {
+		return idref;
+	}
+
+	/**
+	 * Sets the value of the idref property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link Object }
+	 * 
+	 */
+	public void setIdref(Object value) {
+		this.idref = value;
+	}
+
+	/**
+	 * Gets the value of the label property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * Sets the value of the label property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLabel(String value) {
+		this.label = value;
+	}
+
+	/**
+	 * Gets the value of the uuid property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getUuid() {
+		return uuid;
+	}
+
+	/**
+	 * Sets the value of the uuid property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setUuid(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Identity.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Identity.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Identity.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Identity.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,352 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * Specifies the run-as identity to be used for the execution of the methods of
+ * an enterprise bean. It contains an optional description, and the name of a
+ * security role.
+ * 
+ * 
+ * <p>
+ * Java class for Identity complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="Identity">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="roleName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Identity", propOrder = { "descriptions", "extensions" })
+public class Identity {
+
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected String roleName;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+	@XmlID
+	protected String id;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected QName type;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String version;
+	@XmlAttribute
+	protected String href;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlIDREF
+	protected Object idref;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String label;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String uuid;
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Extension }
+	 * 
+	 * 
+	 */
+	public List<Extension> getExtensions() {
+		if (extensions == null) {
+			extensions = new ArrayList<Extension>();
+		}
+		return this.extensions;
+	}
+
+	/**
+	 * Gets the value of the description property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * Sets the value of the description property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setDescription(String value) {
+		this.description = value;
+	}
+
+	/**
+	 * Gets the value of the roleName property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getRoleName() {
+		return roleName;
+	}
+
+	/**
+	 * Sets the value of the roleName property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setRoleName(String value) {
+		this.roleName = value;
+	}
+
+	/**
+	 * 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;
+	}
+
+	/**
+	 * Gets the value of the type property.
+	 * 
+	 * @return possible object is {@link QName }
+	 * 
+	 */
+	public QName getType() {
+		return type;
+	}
+
+	/**
+	 * Sets the value of the type property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link QName }
+	 * 
+	 */
+	public void setType(QName value) {
+		this.type = value;
+	}
+
+	/**
+	 * Gets the value of the version property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getVersion() {
+		if (version == null) {
+			return "2.0";
+		} else {
+			return version;
+		}
+	}
+
+	/**
+	 * Sets the value of the version property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setVersion(String value) {
+		this.version = value;
+	}
+
+	/**
+	 * Gets the value of the href property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getHref() {
+		return href;
+	}
+
+	/**
+	 * Sets the value of the href property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setHref(String value) {
+		this.href = value;
+	}
+
+	/**
+	 * Gets the value of the idref property.
+	 * 
+	 * @return possible object is {@link Object }
+	 * 
+	 */
+	public Object getIdref() {
+		return idref;
+	}
+
+	/**
+	 * Sets the value of the idref property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link Object }
+	 * 
+	 */
+	public void setIdref(Object value) {
+		this.idref = value;
+	}
+
+	/**
+	 * Gets the value of the label property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * Sets the value of the label property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLabel(String value) {
+		this.label = value;
+	}
+
+	/**
+	 * Gets the value of the uuid property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getUuid() {
+		return uuid;
+	}
+
+	/**
+	 * Sets the value of the uuid property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setUuid(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/JNDIEnvRefsGroup.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/JNDIEnvRefsGroup.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/JNDIEnvRefsGroup.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/JNDIEnvRefsGroup.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,295 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.openejb.jee.was.v6.wsclient.ServiceRef;
+
+/**
+ * 
+ * @since J2EE1.4 This group keeps the usage of the contained JNDI environment
+ *        reference elements consistent across J2EE deployment descriptors.
+ * 
+ * 
+ *        <p>
+ *        Java class for JNDIEnvRefsGroup complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="JNDIEnvRefsGroup">
+ *   &lt;complexContent>
+ *     &lt;extension base="{common.xmi}CompatibilityDescriptionGroup">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="environmentProperties" type="{common.xmi}EnvEntry"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="resourceRefs" type="{common.xmi}ResourceRef"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="ejbRefs" type="{common.xmi}EjbRef"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="resourceEnvRefs" type="{common.xmi}ResourceEnvRef"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="ejbLocalRefs" type="{common.xmi}EJBLocalRef"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="messageDestinationRefs" type="{common.xmi}MessageDestinationRef"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="serviceRefs" type="{webservice_client.xmi}ServiceRef"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "JNDIEnvRefsGroup", propOrder = { "environmentProperties",
+		"resourceRefs", "ejbRefs", "resourceEnvRefs", "ejbLocalRefs",
+		"messageDestinationRefs", "serviceRefs" })
+public class JNDIEnvRefsGroup extends CompatibilityDescriptionGroup {
+
+	protected List<EnvEntry> environmentProperties;
+	protected List<ResourceRef> resourceRefs;
+	protected List<EjbRef> ejbRefs;
+	protected List<ResourceEnvRef> resourceEnvRefs;
+	protected List<EJBLocalRef> ejbLocalRefs;
+	protected List<MessageDestinationRef> messageDestinationRefs;
+	protected List<ServiceRef> serviceRefs;
+
+	/**
+	 * Gets the value of the environmentProperties 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 environmentProperties property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEnvironmentProperties().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list {@link EnvEntry }
+	 * 
+	 * 
+	 */
+	public List<EnvEntry> getEnvironmentProperties() {
+		if (environmentProperties == null) {
+			environmentProperties = new ArrayList<EnvEntry>();
+		}
+		return this.environmentProperties;
+	}
+
+	/**
+	 * Gets the value of the resourceRefs 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 resourceRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getResourceRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ResourceRef }
+	 * 
+	 * 
+	 */
+	public List<ResourceRef> getResourceRefs() {
+		if (resourceRefs == null) {
+			resourceRefs = new ArrayList<ResourceRef>();
+		}
+		return this.resourceRefs;
+	}
+
+	/**
+	 * Gets the value of the ejbRefs 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 ejbRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEjbRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list {@link EjbRef }
+	 * 
+	 * 
+	 */
+	public List<EjbRef> getEjbRefs() {
+		if (ejbRefs == null) {
+			ejbRefs = new ArrayList<EjbRef>();
+		}
+		return this.ejbRefs;
+	}
+
+	/**
+	 * Gets the value of the resourceEnvRefs 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 resourceEnvRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getResourceEnvRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ResourceEnvRef }
+	 * 
+	 * 
+	 */
+	public List<ResourceEnvRef> getResourceEnvRefs() {
+		if (resourceEnvRefs == null) {
+			resourceEnvRefs = new ArrayList<ResourceEnvRef>();
+		}
+		return this.resourceEnvRefs;
+	}
+
+	/**
+	 * Gets the value of the ejbLocalRefs 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 ejbLocalRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEjbLocalRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link EJBLocalRef }
+	 * 
+	 * 
+	 */
+	public List<EJBLocalRef> getEjbLocalRefs() {
+		if (ejbLocalRefs == null) {
+			ejbLocalRefs = new ArrayList<EJBLocalRef>();
+		}
+		return this.ejbLocalRefs;
+	}
+
+	/**
+	 * Gets the value of the messageDestinationRefs 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 messageDestinationRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMessageDestinationRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MessageDestinationRef }
+	 * 
+	 * 
+	 */
+	public List<MessageDestinationRef> getMessageDestinationRefs() {
+		if (messageDestinationRefs == null) {
+			messageDestinationRefs = new ArrayList<MessageDestinationRef>();
+		}
+		return this.messageDestinationRefs;
+	}
+
+	/**
+	 * Gets the value of the serviceRefs 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 serviceRefs property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getServiceRefs().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ServiceRef }
+	 * 
+	 * 
+	 */
+	public List<ServiceRef> getServiceRefs() {
+		if (serviceRefs == null) {
+			serviceRefs = new ArrayList<ServiceRef>();
+		}
+		return this.serviceRefs;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Listener.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Listener.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Listener.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/Listener.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,118 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.openejb.jee.was.v6.java.JavaClass;
+
+/**
+ * 
+ * @since J2EE1.4 moved from webapp
+ * 
+ *        Declares a class in the application must be registered as a web
+ *        application listener bean.
+ * 
+ * 
+ *        <p>
+ *        Java class for Listener complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="Listener">
+ *   &lt;complexContent>
+ *     &lt;extension base="{common.xmi}CompatibilityDescriptionGroup">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="listenerClass" type="{java.xmi}JavaClass"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="listenerClass" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Listener", propOrder = { "listenerClasses" })
+public class Listener extends CompatibilityDescriptionGroup {
+
+	@XmlElement(name = "listenerClass")
+	protected List<JavaClass> listenerClasses;
+	@XmlAttribute(name = "listenerClass")
+	protected String listenerClassString;
+
+	/**
+	 * Gets the value of the listenerClasses 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 listenerClasses property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getListenerClasses().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link JavaClass }
+	 * 
+	 * 
+	 */
+	public List<JavaClass> getListenerClasses() {
+		if (listenerClasses == null) {
+			listenerClasses = new ArrayList<JavaClass>();
+		}
+		return this.listenerClasses;
+	}
+
+	/**
+	 * Gets the value of the listenerClassString property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getListenerClassString() {
+		return listenerClassString;
+	}
+
+	/**
+	 * Sets the value of the listenerClassString property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setListenerClassString(String value) {
+		this.listenerClassString = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestination.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestination.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestination.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestination.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,98 @@
+/**
+ * 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.was.v6.common;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * 
+ * @since J2EE1.4 The message-destinationType specifies a message destination.
+ *        The logical destination described by this element is mapped to a
+ *        physical destination by the Deployer.
+ * 
+ *        The message destination element contains:
+ * 
+ *        - an optional description - an optional display-name - an optional
+ *        icon - a message destination name which must be unique among message
+ *        destination names within the same Deployment File.
+ * 
+ *        Example:
+ * 
+ * 
+ *        <pre>
+ * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;message-destination xmlns:com.ibm.etools.j2ee.common="common.xmi" xmlns:com.ibm.etools.webservice.wsclient="webservice_client.xmi" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:org.eclipse.jem.java="java.xmi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;message-destination-name&gt;
+ * 
+ * 						CorporateStocks
+ * 
+ * 					&lt;/message-destination-name&gt;
+ * 
+ * 				&lt;/message-destination&gt;
+ * </pre>
+ * 
+ * 
+ * 
+ *        <p>
+ *        Java class for MessageDestination complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="MessageDestination">
+ *   &lt;complexContent>
+ *     &lt;extension base="{common.xmi}CompatibilityDescriptionGroup">
+ *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MessageDestination")
+public class MessageDestination extends CompatibilityDescriptionGroup {
+
+	@XmlAttribute
+	protected String name;
+
+	/**
+	 * Gets the value of the name property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * Sets the value of the name property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setName(String value) {
+		this.name = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationRef.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationRef.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationRef.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,432 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.4 The message-destination-ref element contains a declaration of
+ *        Deployment Component's reference to a message destination associated
+ *        with a resource in Deployment Component's environment. It consists of:
+ * 
+ *        - an optional description - the message destination reference name -
+ *        the message destination type - a specification as to whether the
+ *        destination is used for consuming or producing messages, or both - a
+ *        link to the message destination
+ * 
+ *        Examples:
+ * 
+ * 
+ *        <pre>
+ * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;message-destination-ref xmlns:com.ibm.etools.j2ee.common="common.xmi" xmlns:com.ibm.etools.webservice.wsclient="webservice_client.xmi" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:org.eclipse.jem.java="java.xmi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;message-destination-ref-name&gt;
+ * 
+ * 						jms/StockQueue
+ * 
+ * 					&lt;/message-destination-ref-name&gt;&lt;message-destination-type&gt;
+ * 
+ * 						javax.jms.Queue
+ * 
+ * 					&lt;/message-destination-type&gt;&lt;message-destination-usage&gt;
+ * 
+ * 						Consumes
+ * 
+ * 					&lt;/message-destination-usage&gt;&lt;message-destination-link&gt;
+ * 
+ * 						CorporateStocks
+ * 
+ * 					&lt;/message-destination-link&gt;
+ * 
+ * 				&lt;/message-destination-ref&gt;
+ * </pre>
+ * 
+ * 
+ * 
+ *        <p>
+ *        Java class for MessageDestinationRef complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="MessageDestinationRef">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="usage" type="{common.xmi}MessageDestinationUsageType" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MessageDestinationRef", propOrder = { "descriptions",
+		"extensions" })
+public class MessageDestinationRef {
+
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String link;
+	@XmlAttribute
+	protected String name;
+	@XmlAttribute(name = "type")
+	protected String messageDestinationRefTypeString;
+	@XmlAttribute
+	protected MessageDestinationUsageEnum usage;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+	@XmlID
+	protected String id;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected QName type;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String version;
+	@XmlAttribute
+	protected String href;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlIDREF
+	protected Object idref;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String label;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String uuid;
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Extension }
+	 * 
+	 * 
+	 */
+	public List<Extension> getExtensions() {
+		if (extensions == null) {
+			extensions = new ArrayList<Extension>();
+		}
+		return this.extensions;
+	}
+
+	/**
+	 * Gets the value of the link property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLink() {
+		return link;
+	}
+
+	/**
+	 * Sets the value of the link property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLink(String value) {
+		this.link = value;
+	}
+
+	/**
+	 * Gets the value of the name property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * Sets the value of the name property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setName(String value) {
+		this.name = value;
+	}
+
+	/**
+	 * Gets the value of the messageDestinationRefTypeString property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getMessageDestinationRefTypeString() {
+		return messageDestinationRefTypeString;
+	}
+
+	/**
+	 * Sets the value of the messageDestinationRefTypeString property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setMessageDestinationRefTypeString(String value) {
+		this.messageDestinationRefTypeString = value;
+	}
+
+	/**
+	 * Gets the value of the usage property.
+	 * 
+	 * @return possible object is {@link MessageDestinationUsageEnum }
+	 * 
+	 */
+	public MessageDestinationUsageEnum getUsage() {
+		return usage;
+	}
+
+	/**
+	 * Sets the value of the usage property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link MessageDestinationUsageEnum }
+	 * 
+	 */
+	public void setUsage(MessageDestinationUsageEnum value) {
+		this.usage = value;
+	}
+
+	/**
+	 * 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;
+	}
+
+	/**
+	 * Gets the value of the type property.
+	 * 
+	 * @return possible object is {@link QName }
+	 * 
+	 */
+	public QName getType() {
+		return type;
+	}
+
+	/**
+	 * Sets the value of the type property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link QName }
+	 * 
+	 */
+	public void setType(QName value) {
+		this.type = value;
+	}
+
+	/**
+	 * Gets the value of the version property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getVersion() {
+		if (version == null) {
+			return "2.0";
+		} else {
+			return version;
+		}
+	}
+
+	/**
+	 * Sets the value of the version property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setVersion(String value) {
+		this.version = value;
+	}
+
+	/**
+	 * Gets the value of the href property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getHref() {
+		return href;
+	}
+
+	/**
+	 * Sets the value of the href property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setHref(String value) {
+		this.href = value;
+	}
+
+	/**
+	 * Gets the value of the idref property.
+	 * 
+	 * @return possible object is {@link Object }
+	 * 
+	 */
+	public Object getIdref() {
+		return idref;
+	}
+
+	/**
+	 * Sets the value of the idref property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link Object }
+	 * 
+	 */
+	public void setIdref(Object value) {
+		this.idref = value;
+	}
+
+	/**
+	 * Gets the value of the label property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * Sets the value of the label property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLabel(String value) {
+		this.label = value;
+	}
+
+	/**
+	 * Gets the value of the uuid property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getUuid() {
+		return uuid;
+	}
+
+	/**
+	 * Sets the value of the uuid property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setUuid(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationUsageEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationUsageEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationUsageEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/MessageDestinationUsageEnum.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,69 @@
+/**
+ * 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.was.v6.common;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * <p>
+ * Java class for MessageDestinationUsageType.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ * 
+ * <pre>
+ * &lt;simpleType name="MessageDestinationUsageType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ *     &lt;enumeration value="Consumes"/>
+ *     &lt;enumeration value="Produces"/>
+ *     &lt;enumeration value="ConsumesProduces"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlEnum
+public enum MessageDestinationUsageEnum {
+
+	@XmlEnumValue("Consumes")
+	CONSUMES("Consumes"), @XmlEnumValue("Produces")
+	PRODUCES("Produces"), @XmlEnumValue("ConsumesProduces")
+	CONSUMES_PRODUCES("ConsumesProduces");
+	private final String value;
+
+	MessageDestinationUsageEnum(String v) {
+		value = v;
+	}
+
+	public String value() {
+		return value;
+	}
+
+	public static MessageDestinationUsageEnum fromValue(String v) {
+		for (MessageDestinationUsageEnum c : MessageDestinationUsageEnum
+				.values()) {
+			if (c.value.equals(v)) {
+				return c;
+			}
+		}
+		throw new IllegalArgumentException(v.toString());
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ObjectFactory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ObjectFactory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ObjectFactory.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,521 @@
+/**
+ * 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.was.v6.common;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+
+/**
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the org.apache.openejb.jee.was.v6.common
+ * 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 javax.xml.namespace.QName _QName_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "QName");
+	private final static javax.xml.namespace.QName _Listener_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "Listener");
+	private final static javax.xml.namespace.QName _SecurityRoleRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "SecurityRoleRef");
+	private final static javax.xml.namespace.QName _Identity_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "Identity");
+	private final static javax.xml.namespace.QName _Description_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "Description");
+	private final static javax.xml.namespace.QName _EnvEntry_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "EnvEntry");
+	private final static javax.xml.namespace.QName _DisplayName_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "DisplayName");
+	private final static javax.xml.namespace.QName _ResourceEnvRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "ResourceEnvRef");
+	private final static javax.xml.namespace.QName _DescriptionGroup_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "DescriptionGroup");
+	private final static javax.xml.namespace.QName _SecurityIdentity_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "SecurityIdentity");
+	private final static javax.xml.namespace.QName _RunAsSpecifiedIdentity_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "RunAsSpecifiedIdentity");
+	private final static javax.xml.namespace.QName _IconType_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "IconType");
+	private final static javax.xml.namespace.QName _UseCallerIdentity_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "UseCallerIdentity");
+	private final static javax.xml.namespace.QName _MessageDestination_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "MessageDestination");
+	private final static javax.xml.namespace.QName _MessageDestinationRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "MessageDestinationRef");
+	private final static javax.xml.namespace.QName _CompatibilityDescriptionGroup_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "CompatibilityDescriptionGroup");
+	private final static javax.xml.namespace.QName _ResourceRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "ResourceRef");
+	private final static javax.xml.namespace.QName _ParamValue_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "ParamValue");
+	private final static javax.xml.namespace.QName _EjbRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "EjbRef");
+	private final static javax.xml.namespace.QName _EJBLocalRef_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "EJBLocalRef");
+	private final static javax.xml.namespace.QName _SecurityRole_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "SecurityRole");
+	private final static javax.xml.namespace.QName _JNDIEnvRefsGroup_QNAME = new javax.xml.namespace.QName(
+			"common.xmi", "JNDIEnvRefsGroup");
+
+	/**
+	 * Create a new ObjectFactory that can be used to create new instances of
+	 * schema derived classes for package: org.apache.openejb.jee.was.v6.common
+	 * 
+	 */
+	public ObjectFactory() {
+	}
+
+	/**
+	 * Create an instance of {@link EJBLocalRef }
+	 * 
+	 */
+	public EJBLocalRef createEJBLocalRef() {
+		return new EJBLocalRef();
+	}
+
+	/**
+	 * Create an instance of {@link SecurityRole }
+	 * 
+	 */
+	public SecurityRole createSecurityRole() {
+		return new SecurityRole();
+	}
+
+	/**
+	 * Create an instance of {@link ResourceRef }
+	 * 
+	 */
+	public ResourceRef createResourceRef() {
+		return new ResourceRef();
+	}
+
+	/**
+	 * Create an instance of {@link ResourceEnvRef }
+	 * 
+	 */
+	public ResourceEnvRef createResourceEnvRef() {
+		return new ResourceEnvRef();
+	}
+
+	/**
+	 * Create an instance of {@link ParamValue }
+	 * 
+	 */
+	public ParamValue createParamValue() {
+		return new ParamValue();
+	}
+
+	/**
+	 * Create an instance of {@link DisplayName }
+	 * 
+	 */
+	public DisplayName createDisplayName() {
+		return new DisplayName();
+	}
+
+	/**
+	 * Create an instance of {@link CompatibilityDescriptionGroup }
+	 * 
+	 */
+	public CompatibilityDescriptionGroup createCompatibilityDescriptionGroup() {
+		return new CompatibilityDescriptionGroup();
+	}
+
+	/**
+	 * Create an instance of {@link Identity }
+	 * 
+	 */
+	public Identity createIdentity() {
+		return new Identity();
+	}
+
+	/**
+	 * Create an instance of {@link SecurityRoleRef }
+	 * 
+	 */
+	public SecurityRoleRef createSecurityRoleRef() {
+		return new SecurityRoleRef();
+	}
+
+	/**
+	 * Create an instance of {@link IconType }
+	 * 
+	 */
+	public IconType createIconType() {
+		return new IconType();
+	}
+
+	/**
+	 * Create an instance of {@link SecurityIdentity }
+	 * 
+	 */
+	public SecurityIdentity createSecurityIdentity() {
+		return new SecurityIdentity();
+	}
+
+	/**
+	 * Create an instance of {@link UseCallerIdentity }
+	 * 
+	 */
+	public UseCallerIdentity createUseCallerIdentity() {
+		return new UseCallerIdentity();
+	}
+
+	/**
+	 * Create an instance of {@link MessageDestinationRef }
+	 * 
+	 */
+	public MessageDestinationRef createMessageDestinationRef() {
+		return new MessageDestinationRef();
+	}
+
+	/**
+	 * Create an instance of {@link org.apache.openejb.jee.was.v6.common.QName }
+	 * 
+	 */
+	public org.apache.openejb.jee.was.v6.common.QName createQName() {
+		return new org.apache.openejb.jee.was.v6.common.QName();
+	}
+
+	/**
+	 * Create an instance of {@link MessageDestination }
+	 * 
+	 */
+	public MessageDestination createMessageDestination() {
+		return new MessageDestination();
+	}
+
+	/**
+	 * Create an instance of {@link EjbRef }
+	 * 
+	 */
+	public EjbRef createEjbRef() {
+		return new EjbRef();
+	}
+
+	/**
+	 * Create an instance of {@link Description }
+	 * 
+	 */
+	public Description createDescription() {
+		return new Description();
+	}
+
+	/**
+	 * Create an instance of {@link JNDIEnvRefsGroup }
+	 * 
+	 */
+	public JNDIEnvRefsGroup createJNDIEnvRefsGroup() {
+		return new JNDIEnvRefsGroup();
+	}
+
+	/**
+	 * Create an instance of {@link EnvEntry }
+	 * 
+	 */
+	public EnvEntry createEnvEntry() {
+		return new EnvEntry();
+	}
+
+	/**
+	 * Create an instance of {@link RunAsSpecifiedIdentity }
+	 * 
+	 */
+	public RunAsSpecifiedIdentity createRunAsSpecifiedIdentity() {
+		return new RunAsSpecifiedIdentity();
+	}
+
+	/**
+	 * Create an instance of {@link Listener }
+	 * 
+	 */
+	public Listener createListener() {
+		return new Listener();
+	}
+
+	/**
+	 * Create an instance of {@link DescriptionGroup }
+	 * 
+	 */
+	public DescriptionGroup createDescriptionGroup() {
+		return new DescriptionGroup();
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link org.apache.openejb.jee.was.v6.common.QName }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "QName")
+	public JAXBElement<org.apache.openejb.jee.was.v6.common.QName> createQName(
+			org.apache.openejb.jee.was.v6.common.QName value) {
+		return new JAXBElement<org.apache.openejb.jee.was.v6.common.QName>(
+				_QName_QNAME, org.apache.openejb.jee.was.v6.common.QName.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Listener }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "Listener")
+	public JAXBElement<Listener> createListener(Listener value) {
+		return new JAXBElement<Listener>(_Listener_QNAME, Listener.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link SecurityRoleRef }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "SecurityRoleRef")
+	public JAXBElement<SecurityRoleRef> createSecurityRoleRef(
+			SecurityRoleRef value) {
+		return new JAXBElement<SecurityRoleRef>(_SecurityRoleRef_QNAME,
+				SecurityRoleRef.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Identity }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "Identity")
+	public JAXBElement<Identity> createIdentity(Identity value) {
+		return new JAXBElement<Identity>(_Identity_QNAME, Identity.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Description }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "Description")
+	public JAXBElement<Description> createDescription(Description value) {
+		return new JAXBElement<Description>(_Description_QNAME,
+				Description.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EnvEntry }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "EnvEntry")
+	public JAXBElement<EnvEntry> createEnvEntry(EnvEntry value) {
+		return new JAXBElement<EnvEntry>(_EnvEntry_QNAME, EnvEntry.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link DisplayName }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "DisplayName")
+	public JAXBElement<DisplayName> createDisplayName(DisplayName value) {
+		return new JAXBElement<DisplayName>(_DisplayName_QNAME,
+				DisplayName.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link ResourceEnvRef }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "ResourceEnvRef")
+	public JAXBElement<ResourceEnvRef> createResourceEnvRef(ResourceEnvRef value) {
+		return new JAXBElement<ResourceEnvRef>(_ResourceEnvRef_QNAME,
+				ResourceEnvRef.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link DescriptionGroup }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "DescriptionGroup")
+	public JAXBElement<DescriptionGroup> createDescriptionGroup(
+			DescriptionGroup value) {
+		return new JAXBElement<DescriptionGroup>(_DescriptionGroup_QNAME,
+				DescriptionGroup.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link SecurityIdentity }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "SecurityIdentity")
+	public JAXBElement<SecurityIdentity> createSecurityIdentity(
+			SecurityIdentity value) {
+		return new JAXBElement<SecurityIdentity>(_SecurityIdentity_QNAME,
+				SecurityIdentity.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link RunAsSpecifiedIdentity }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "RunAsSpecifiedIdentity")
+	public JAXBElement<RunAsSpecifiedIdentity> createRunAsSpecifiedIdentity(
+			RunAsSpecifiedIdentity value) {
+		return new JAXBElement<RunAsSpecifiedIdentity>(
+				_RunAsSpecifiedIdentity_QNAME, RunAsSpecifiedIdentity.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link IconType }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "IconType")
+	public JAXBElement<IconType> createIconType(IconType value) {
+		return new JAXBElement<IconType>(_IconType_QNAME, IconType.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link UseCallerIdentity }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "UseCallerIdentity")
+	public JAXBElement<UseCallerIdentity> createUseCallerIdentity(
+			UseCallerIdentity value) {
+		return new JAXBElement<UseCallerIdentity>(_UseCallerIdentity_QNAME,
+				UseCallerIdentity.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link MessageDestination }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "MessageDestination")
+	public JAXBElement<MessageDestination> createMessageDestination(
+			MessageDestination value) {
+		return new JAXBElement<MessageDestination>(_MessageDestination_QNAME,
+				MessageDestination.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link MessageDestinationRef }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "MessageDestinationRef")
+	public JAXBElement<MessageDestinationRef> createMessageDestinationRef(
+			MessageDestinationRef value) {
+		return new JAXBElement<MessageDestinationRef>(
+				_MessageDestinationRef_QNAME, MessageDestinationRef.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link CompatibilityDescriptionGroup }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "CompatibilityDescriptionGroup")
+	public JAXBElement<CompatibilityDescriptionGroup> createCompatibilityDescriptionGroup(
+			CompatibilityDescriptionGroup value) {
+		return new JAXBElement<CompatibilityDescriptionGroup>(
+				_CompatibilityDescriptionGroup_QNAME,
+				CompatibilityDescriptionGroup.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link ResourceRef }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "ResourceRef")
+	public JAXBElement<ResourceRef> createResourceRef(ResourceRef value) {
+		return new JAXBElement<ResourceRef>(_ResourceRef_QNAME,
+				ResourceRef.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link ParamValue }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "ParamValue")
+	public JAXBElement<ParamValue> createParamValue(ParamValue value) {
+		return new JAXBElement<ParamValue>(_ParamValue_QNAME, ParamValue.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EjbRef }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "EjbRef")
+	public JAXBElement<EjbRef> createEjbRef(EjbRef value) {
+		return new JAXBElement<EjbRef>(_EjbRef_QNAME, EjbRef.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EJBLocalRef }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "EJBLocalRef")
+	public JAXBElement<EJBLocalRef> createEJBLocalRef(EJBLocalRef value) {
+		return new JAXBElement<EJBLocalRef>(_EJBLocalRef_QNAME,
+				EJBLocalRef.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link SecurityRole }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "SecurityRole")
+	public JAXBElement<SecurityRole> createSecurityRole(SecurityRole value) {
+		return new JAXBElement<SecurityRole>(_SecurityRole_QNAME,
+				SecurityRole.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link JNDIEnvRefsGroup }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "common.xmi", name = "JNDIEnvRefsGroup")
+	public JAXBElement<JNDIEnvRefsGroup> createJNDIEnvRefsGroup(
+			JNDIEnvRefsGroup value) {
+		return new JAXBElement<JNDIEnvRefsGroup>(_JNDIEnvRefsGroup_QNAME,
+				JNDIEnvRefsGroup.class, null, value);
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ParamValue.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ParamValue.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ParamValue.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/common/ParamValue.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,375 @@
+/**
+ * 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.was.v6.common;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.4 This type is a general type that can be used to declare
+ *        parameter/value lists.
+ * 
+ * 
+ *        <p>
+ *        Java class for ParamValue complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="ParamValue">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ParamValue", propOrder = { "descriptions", "extensions" })
+public class ParamValue {
+
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected String name;
+	@XmlAttribute
+	protected String value;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+	@XmlID
+	protected String id;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected QName type;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String version;
+	@XmlAttribute
+	protected String href;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	@XmlIDREF
+	protected Object idref;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String label;
+	@XmlAttribute(namespace = "http://www.omg.org/XMI")
+	protected String uuid;
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Extension }
+	 * 
+	 * 
+	 */
+	public List<Extension> getExtensions() {
+		if (extensions == null) {
+			extensions = new ArrayList<Extension>();
+		}
+		return this.extensions;
+	}
+
+	/**
+	 * Gets the value of the description property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * Sets the value of the description property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setDescription(String value) {
+		this.description = value;
+	}
+
+	/**
+	 * Gets the value of the name property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * Sets the value of the name property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setName(String value) {
+		this.name = value;
+	}
+
+	/**
+	 * Gets the value of the value property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getValue() {
+		return value;
+	}
+
+	/**
+	 * Sets the value of the value property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setValue(String value) {
+		this.value = value;
+	}
+
+	/**
+	 * 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;
+	}
+
+	/**
+	 * Gets the value of the type property.
+	 * 
+	 * @return possible object is {@link QName }
+	 * 
+	 */
+	public QName getType() {
+		return type;
+	}
+
+	/**
+	 * Sets the value of the type property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link QName }
+	 * 
+	 */
+	public void setType(QName value) {
+		this.type = value;
+	}
+
+	/**
+	 * Gets the value of the version property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getVersion() {
+		if (version == null) {
+			return "2.0";
+		} else {
+			return version;
+		}
+	}
+
+	/**
+	 * Sets the value of the version property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setVersion(String value) {
+		this.version = value;
+	}
+
+	/**
+	 * Gets the value of the href property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getHref() {
+		return href;
+	}
+
+	/**
+	 * Sets the value of the href property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setHref(String value) {
+		this.href = value;
+	}
+
+	/**
+	 * Gets the value of the idref property.
+	 * 
+	 * @return possible object is {@link Object }
+	 * 
+	 */
+	public Object getIdref() {
+		return idref;
+	}
+
+	/**
+	 * Sets the value of the idref property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link Object }
+	 * 
+	 */
+	public void setIdref(Object value) {
+		this.idref = value;
+	}
+
+	/**
+	 * Gets the value of the label property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * Sets the value of the label property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setLabel(String value) {
+		this.label = value;
+	}
+
+	/**
+	 * Gets the value of the uuid property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getUuid() {
+		return uuid;
+	}
+
+	/**
+	 * Sets the value of the uuid property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setUuid(String value) {
+		this.uuid = value;
+	}
+
+}