tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r585036 [6/7] - in /openejb/trunk/openejb3: ./ assembly/openejb-tomcat/src/main/java/org/apache/openejb/tomcat/ container/openejb-core/src/main/java/org/apache/openejb/assembler/ container/openejb-core/src/main/java/org/apache/openejb/assem...
Date Tue, 16 Oct 2007 04:39:10 GMT
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Principal.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Principal.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Principal.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Principal.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "name"
-})
-@XmlRootElement(name = "principal")
+@XmlType(name = "", propOrder = {"name"})
 public class Principal {
-
     @XmlElement(required = true)
     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;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrincipalName.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrincipalName.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrincipalName.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrincipalName.java Mon Oct 15 21:38:53 2007
@@ -14,81 +14,38 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.bind.annotation.XmlValue;
 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "value"
-})
-@XmlRootElement(name = "principal-name")
+@XmlType(name = "", propOrder = {"value"})
 public class PrincipalName {
-
     @XmlAttribute(name = "class-name")
     @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
     protected String className;
     @XmlValue
     protected String value;
 
-    /**
-     * Gets the value of the className property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getClassName() {
         return className;
     }
 
-    /**
-     * Sets the value of the className property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setClassName(String value) {
         this.className = 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;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Property.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Property.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Property.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Property.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,74 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 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.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
-    "name",
-    "value"
+        "nameElement",
+        "valueElement",
+        "description"
 })
-@XmlRootElement(name = "property")
 public class Property {
-
-    @XmlElement(required = true)
+    @XmlAttribute(required = true)
+    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
     protected String name;
-    @XmlElement(required = true)
+    @XmlAttribute(required = true)
+    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
     protected String value;
+    protected String description;
 
-    /**
-     * 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;
     }
 
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String value) {
+        this.description = value;
+    }
+
+    //
+    // JAXB Hack to get both an attribute and element mapped to the same field
+    //
+
+    @XmlElement(name = "name")
+    private String getNameElement() {
+        return name;
+    }
+
+    private void setNameElement(String value) {
+        this.name = value;
+    }
+
+    @XmlElement(name = "value")
+    private String getValueElement() {
+        return value;
+    }
+
+    private void setValueElement(String value) {
+        this.value = value;
+    }
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/QueryMethod.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/QueryMethod.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/QueryMethod.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/QueryMethod.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "methodName",
-    "methodParams"
-})
-@XmlRootElement(name = "query-method")
+@XmlType(name = "", propOrder = {"methodName", "methodParams"})
 public class QueryMethod {
-
     @XmlElement(name = "method-name", required = true)
     protected String methodName;
     @XmlElement(name = "method-params", required = true)
     protected MethodParams methodParams;
 
-    /**
-     * Gets the value of the methodName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getMethodName() {
         return methodName;
     }
 
-    /**
-     * Sets the value of the methodName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setMethodName(String value) {
         this.methodName = value;
     }
 
-    /**
-     * Gets the value of the methodParams property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link MethodParams }
-     *     
-     */
     public MethodParams getMethodParams() {
         return methodParams;
     }
 
-    /**
-     * Sets the value of the methodParams property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link MethodParams }
-     *     
-     */
     public void setMethodParams(MethodParams value) {
         this.methodParams = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ReadOnly.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ReadOnly.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ReadOnly.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ReadOnly.java Mon Oct 15 21:38:53 2007
@@ -14,22 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "")
-@XmlRootElement(name = "read-only")
 public class ReadOnly {
-
-
 }

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RefreshField.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RefreshField.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RefreshField.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RefreshField.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,56 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+public class RefreshField {
+    @XmlAttribute(required = true)
+    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+    protected String name;
+    @XmlAttribute
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    protected String scope;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    public String getScope() {
+        if (scope == null) {
+            return "request.parameter";
+        } else {
+            return scope;
+        }
+    }
+
+    public void setScope(String value) {
+        this.scope = value;
+    }
+}

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RequestProtection.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RequestProtection.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RequestProtection.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/RequestProtection.java Mon Oct 15 21:38:53 2007
@@ -14,26 +14,18 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "")
-@XmlRootElement(name = "request-protection")
 public class RequestProtection {
-
     @XmlAttribute(name = "auth-source")
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     protected String authSource;
@@ -41,52 +33,19 @@
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     protected String authRecipient;
 
-    /**
-     * Gets the value of the authSource property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getAuthSource() {
         return authSource;
     }
 
-    /**
-     * Sets the value of the authSource property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setAuthSource(String value) {
         this.authSource = value;
     }
 
-    /**
-     * Gets the value of the authRecipient property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getAuthRecipient() {
         return authRecipient;
     }
 
-    /**
-     * Sets the value of the authRecipient property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setAuthRecipient(String value) {
         this.authRecipient = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceEnvRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceEnvRef.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceEnvRef.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceEnvRef.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "resourceEnvRefName",
-    "jndiName"
-})
-@XmlRootElement(name = "resource-env-ref")
+@XmlType(name = "", propOrder = {"resourceEnvRefName", "jndiName"})
 public class ResourceEnvRef {
-
     @XmlElement(name = "resource-env-ref-name", required = true)
     protected String resourceEnvRefName;
     @XmlElement(name = "jndi-name", required = true)
     protected String jndiName;
 
-    /**
-     * Gets the value of the resourceEnvRefName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getResourceEnvRefName() {
         return resourceEnvRefName;
     }
 
-    /**
-     * Sets the value of the resourceEnvRefName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setResourceEnvRefName(String value) {
         this.resourceEnvRefName = value;
     }
 
-    /**
-     * Gets the value of the jndiName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getJndiName() {
         return jndiName;
     }
 
-    /**
-     * Sets the value of the jndiName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setJndiName(String value) {
         this.jndiName = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceRef.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceRef.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResourceRef.java Mon Oct 15 21:38:53 2007
@@ -14,28 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "resRefName",
     "jndiName",
     "defaultResourcePrincipal"
 })
-@XmlRootElement(name = "resource-ref")
 public class ResourceRef {
-
     @XmlElement(name = "res-ref-name", required = true)
     protected String resRefName;
     @XmlElement(name = "jndi-name", required = true)
@@ -43,76 +35,27 @@
     @XmlElement(name = "default-resource-principal")
     protected DefaultResourcePrincipal defaultResourcePrincipal;
 
-    /**
-     * Gets the value of the resRefName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getResRefName() {
         return resRefName;
     }
 
-    /**
-     * Sets the value of the resRefName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setResRefName(String value) {
         this.resRefName = value;
     }
 
-    /**
-     * Gets the value of the jndiName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getJndiName() {
         return jndiName;
     }
 
-    /**
-     * Sets the value of the jndiName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setJndiName(String value) {
         this.jndiName = value;
     }
 
-    /**
-     * Gets the value of the defaultResourcePrincipal property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link DefaultResourcePrincipal }
-     *     
-     */
     public DefaultResourcePrincipal getDefaultResourcePrincipal() {
         return defaultResourcePrincipal;
     }
 
-    /**
-     * Sets the value of the defaultResourcePrincipal property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link DefaultResourcePrincipal }
-     *     
-     */
     public void setDefaultResourcePrincipal(DefaultResourcePrincipal value) {
         this.defaultResourcePrincipal = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResponseProtection.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResponseProtection.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResponseProtection.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ResponseProtection.java Mon Oct 15 21:38:53 2007
@@ -14,26 +14,18 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "")
-@XmlRootElement(name = "response-protection")
 public class ResponseProtection {
-
     @XmlAttribute(name = "auth-source")
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     protected String authSource;
@@ -41,52 +33,19 @@
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     protected String authRecipient;
 
-    /**
-     * Gets the value of the authSource property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getAuthSource() {
         return authSource;
     }
 
-    /**
-     * Sets the value of the authSource property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setAuthSource(String value) {
         this.authSource = value;
     }
 
-    /**
-     * Gets the value of the authRecipient property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getAuthRecipient() {
         return authRecipient;
     }
 
-    /**
-     * Sets the value of the authRecipient property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setAuthRecipient(String value) {
         this.authRecipient = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SasContext.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SasContext.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SasContext.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SasContext.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "callerPropagation"
-})
-@XmlRootElement(name = "sas-context")
+@XmlType(name = "", propOrder = {"callerPropagation"})
 public class SasContext {
-
     @XmlElement(name = "caller-propagation", required = true)
     protected String callerPropagation;
 
-    /**
-     * Gets the value of the callerPropagation property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getCallerPropagation() {
         return callerPropagation;
     }
 
-    /**
-     * Sets the value of the callerPropagation property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setCallerPropagation(String value) {
         this.callerPropagation = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SchemaGeneratorProperties.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SchemaGeneratorProperties.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SchemaGeneratorProperties.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SchemaGeneratorProperties.java Mon Oct 15 21:38:53 2007
@@ -14,56 +14,23 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
-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.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "property"
-})
-@XmlRootElement(name = "schema-generator-properties")
+@XmlType(name = "", propOrder = {"property"})
 public class SchemaGeneratorProperties {
-
     protected List<Property> property;
 
-    /**
-     * Gets the value of the property 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 property property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getProperty().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Property }
-     * 
-     * 
-     */
     public List<Property> getProperty() {
         if (property == null) {
             property = new ArrayList<Property>();
         }
         return this.property;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecondaryTable.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecondaryTable.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecondaryTable.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecondaryTable.java Mon Oct 15 21:38:53 2007
@@ -14,85 +14,35 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "tableName",
-    "columnPair"
-})
-@XmlRootElement(name = "secondary-table")
+@XmlType(name = "", propOrder = {"tableName", "columnPair"})
 public class SecondaryTable {
-
     @XmlElement(name = "table-name", required = true)
     protected String tableName;
     @XmlElement(name = "column-pair", required = true)
     protected List<ColumnPair> columnPair;
 
-    /**
-     * Gets the value of the tableName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getTableName() {
         return tableName;
     }
 
-    /**
-     * Sets the value of the tableName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setTableName(String value) {
         this.tableName = value;
     }
 
-    /**
-     * Gets the value of the columnPair 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 columnPair property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getColumnPair().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ColumnPair }
-     * 
-     * 
-     */
     public List<ColumnPair> getColumnPair() {
         if (columnPair == null) {
             columnPair = new ArrayList<ColumnPair>();
         }
         return this.columnPair;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecurityRoleMapping.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecurityRoleMapping.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecurityRoleMapping.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SecurityRoleMapping.java Mon Oct 15 21:38:53 2007
@@ -14,30 +14,22 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
-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.XmlElement;
 import javax.xml.bind.annotation.XmlElements;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "roleName",
     "principalNameOrGroupName"
 })
-@XmlRootElement(name = "security-role-mapping")
 public class SecurityRoleMapping {
-
     @XmlElement(name = "role-name", required = true)
     protected String roleName;
     @XmlElements({
@@ -46,58 +38,18 @@
     })
     protected List<Object> principalNameOrGroupName;
 
-    /**
-     * 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 principalNameOrGroupName 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 principalNameOrGroupName property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getPrincipalNameOrGroupName().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link PrincipalName }
-     * {@link GroupName }
-     * 
-     * 
-     */
     public List<Object> getPrincipalNameOrGroupName() {
         if (principalNameOrGroupName == null) {
             principalNameOrGroupName = new ArrayList<Object>();
         }
         return this.principalNameOrGroupName;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceQname.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceQname.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceQname.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceQname.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "namespaceURI",
-    "localpart"
-})
-@XmlRootElement(name = "service-qname")
+@XmlType(name = "", propOrder = {"namespaceURI", "localpart"})
 public class ServiceQname {
-
     @XmlElement(required = true)
     protected String namespaceURI;
     @XmlElement(required = true)
     protected String localpart;
 
-    /**
-     * Gets the value of the namespaceURI property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getNamespaceURI() {
         return namespaceURI;
     }
 
-    /**
-     * Sets the value of the namespaceURI property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setNamespaceURI(String value) {
         this.namespaceURI = value;
     }
 
-    /**
-     * Gets the value of the localpart property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getLocalpart() {
         return localpart;
     }
 
-    /**
-     * Sets the value of the localpart property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setLocalpart(String value) {
         this.localpart = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceRef.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceRef.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServiceRef.java Mon Oct 15 21:38:53 2007
@@ -14,21 +14,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "serviceRefName",
@@ -38,9 +32,7 @@
     "serviceImplClass",
     "serviceQname"
 })
-@XmlRootElement(name = "service-ref")
 public class ServiceRef {
-
     @XmlElement(name = "service-ref-name", required = true)
     protected String serviceRefName;
     @XmlElement(name = "port-info")
@@ -54,52 +46,14 @@
     @XmlElement(name = "service-qname")
     protected ServiceQname serviceQname;
 
-    /**
-     * Gets the value of the serviceRefName property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getServiceRefName() {
         return serviceRefName;
     }
 
-    /**
-     * Sets the value of the serviceRefName property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setServiceRefName(String value) {
         this.serviceRefName = value;
     }
 
-    /**
-     * Gets the value of the portInfo 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 portInfo property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getPortInfo().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link PortInfo }
-     * 
-     * 
-     */
     public List<PortInfo> getPortInfo() {
         if (portInfo == null) {
             portInfo = new ArrayList<PortInfo>();
@@ -107,28 +61,6 @@
         return this.portInfo;
     }
 
-    /**
-     * Gets the value of the callProperty 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 callProperty property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getCallProperty().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link CallProperty }
-     * 
-     * 
-     */
     public List<CallProperty> getCallProperty() {
         if (callProperty == null) {
             callProperty = new ArrayList<CallProperty>();
@@ -136,76 +68,27 @@
         return this.callProperty;
     }
 
-    /**
-     * Gets the value of the wsdlOverride property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getWsdlOverride() {
         return wsdlOverride;
     }
 
-    /**
-     * Sets the value of the wsdlOverride property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setWsdlOverride(String value) {
         this.wsdlOverride = value;
     }
 
-    /**
-     * Gets the value of the serviceImplClass property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getServiceImplClass() {
         return serviceImplClass;
     }
 
-    /**
-     * Sets the value of the serviceImplClass property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setServiceImplClass(String value) {
         this.serviceImplClass = value;
     }
 
-    /**
-     * Gets the value of the serviceQname property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link ServiceQname }
-     *     
-     */
     public ServiceQname getServiceQname() {
         return serviceQname;
     }
 
-    /**
-     * Sets the value of the serviceQname property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link ServiceQname }
-     *     
-     */
     public void setServiceQname(ServiceQname value) {
         this.serviceQname = value;
     }
-
 }

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Servlet.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Servlet.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Servlet.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Servlet.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,62 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "servletName",
+    "principalName",
+    "webserviceEndpoint"
+})
+public class Servlet {
+    @XmlElement(name = "servlet-name", required = true)
+    protected ServletName servletName;
+    @XmlElement(name = "principal-name")
+    protected PrincipalName principalName;
+    @XmlElement(name = "webservice-endpoint")
+    protected List<WebserviceEndpoint> webserviceEndpoint;
+
+    public ServletName getServletName() {
+        return servletName;
+    }
+
+    public void setServletName(ServletName value) {
+        this.servletName = value;
+    }
+
+    public PrincipalName getPrincipalName() {
+        return principalName;
+    }
+
+    public void setPrincipalName(PrincipalName value) {
+        this.principalName = value;
+    }
+
+    public List<WebserviceEndpoint> getWebserviceEndpoint() {
+        if (webserviceEndpoint == null) {
+            webserviceEndpoint = new ArrayList<WebserviceEndpoint>();
+        }
+        return this.webserviceEndpoint;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServletName.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServletName.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServletName.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ServletName.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,37 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"value"})
+public class ServletName {
+    @XmlValue
+    protected String value;
+
+    public String getvalue() {
+        return value;
+    }
+
+    public void setvalue(String value) {
+        this.value = value;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionConfig.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionConfig.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionConfig.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionConfig.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,61 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "sessionManager",
+    "sessionProperties",
+    "cookieProperties"
+})
+public class SessionConfig {
+    @XmlElement(name = "session-manager")
+    protected SessionManager sessionManager;
+    @XmlElement(name = "session-properties")
+    protected SessionProperties sessionProperties;
+    @XmlElement(name = "cookie-properties")
+    protected CookieProperties cookieProperties;
+
+    public SessionManager getSessionManager() {
+        return sessionManager;
+    }
+
+    public void setSessionManager(SessionManager value) {
+        this.sessionManager = value;
+    }
+
+    public SessionProperties getSessionProperties() {
+        return sessionProperties;
+    }
+
+    public void setSessionProperties(SessionProperties value) {
+        this.sessionProperties = value;
+    }
+
+    public CookieProperties getCookieProperties() {
+        return cookieProperties;
+    }
+
+    public void setCookieProperties(CookieProperties value) {
+        this.cookieProperties = value;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionManager.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionManager.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionManager.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionManager.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,65 @@
+/**
+ * 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.sun;
+
+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 javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"managerProperties", "storeProperties"})
+public class SessionManager {
+    @XmlAttribute(name = "persistence-type")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    protected String persistenceType;
+    @XmlElement(name = "manager-properties")
+    protected ManagerProperties managerProperties;
+    @XmlElement(name = "store-properties")
+    protected StoreProperties storeProperties;
+
+    public String getPersistenceType() {
+        if (persistenceType == null) {
+            return "memory";
+        } else {
+            return persistenceType;
+        }
+    }
+
+    public void setPersistenceType(String value) {
+        this.persistenceType = value;
+    }
+
+    public ManagerProperties getManagerProperties() {
+        return managerProperties;
+    }
+
+    public void setManagerProperties(ManagerProperties value) {
+        this.managerProperties = value;
+    }
+
+    public StoreProperties getStoreProperties() {
+        return storeProperties;
+    }
+
+    public void setStoreProperties(StoreProperties value) {
+        this.storeProperties = value;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionProperties.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionProperties.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionProperties.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SessionProperties.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,36 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"property"})
+public class SessionProperties {
+    protected List<Property> property;
+
+    public List<Property> getProperty() {
+        if (property == null) {
+            property = new ArrayList<Property>();
+        }
+        return this.property;
+    }
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StoreProperties.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StoreProperties.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StoreProperties.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StoreProperties.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,36 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"property"})
+public class StoreProperties {
+    protected List<Property> property;
+
+    public List<Property> getProperty() {
+        if (property == null) {
+            property = new ArrayList<Property>();
+        }
+        return this.property;
+    }
+}

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StubProperty.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StubProperty.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StubProperty.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/StubProperty.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "name",
-    "value"
-})
-@XmlRootElement(name = "stub-property")
+@XmlType(name = "", propOrder = {"name", "value"})
 public class StubProperty {
-
     @XmlElement(required = true)
     protected String name;
     @XmlElement(required = true)
     protected String 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;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplication.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplication.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplication.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplication.java Mon Oct 15 21:38:53 2007
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import java.util.ArrayList;
@@ -25,10 +24,6 @@
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "web",
@@ -39,7 +34,6 @@
 })
 @XmlRootElement(name = "sun-application")
 public class SunApplication {
-
     protected List<Web> web;
     @XmlElement(name = "pass-by-reference")
     protected String passByReference;
@@ -49,28 +43,6 @@
     protected List<SecurityRoleMapping> securityRoleMapping;
     protected String realm;
 
-    /**
-     * Gets the value of the web 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 web property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getWeb().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Web }
-     * 
-     * 
-     */
     public List<Web> getWeb() {
         if (web == null) {
             web = new ArrayList<Web>();
@@ -78,76 +50,22 @@
         return this.web;
     }
 
-    /**
-     * Gets the value of the passByReference property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getPassByReference() {
         return passByReference;
     }
 
-    /**
-     * Sets the value of the passByReference property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setPassByReference(String value) {
         this.passByReference = value;
     }
 
-    /**
-     * Gets the value of the uniqueId property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getUniqueId() {
         return uniqueId;
     }
 
-    /**
-     * Sets the value of the uniqueId property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setUniqueId(String value) {
         this.uniqueId = value;
     }
 
-    /**
-     * Gets the value of the securityRoleMapping 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 securityRoleMapping property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getSecurityRoleMapping().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link SecurityRoleMapping }
-     * 
-     * 
-     */
     public List<SecurityRoleMapping> getSecurityRoleMapping() {
         if (securityRoleMapping == null) {
             securityRoleMapping = new ArrayList<SecurityRoleMapping>();
@@ -155,28 +73,11 @@
         return this.securityRoleMapping;
     }
 
-    /**
-     * Gets the value of the realm property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getRealm() {
         return realm;
     }
 
-    /**
-     * Sets the value of the realm property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setRealm(String value) {
         this.realm = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplicationClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplicationClient.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplicationClient.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunApplicationClient.java Mon Oct 15 21:38:53 2007
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import java.util.ArrayList;
@@ -25,10 +24,6 @@
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "ejbRef",
@@ -41,7 +36,6 @@
 })
 @XmlRootElement(name = "sun-application-client")
 public class SunApplicationClient {
-
     @XmlElement(name = "ejb-ref")
     protected List<EjbRef> ejbRef;
     @XmlElement(name = "resource-ref")
@@ -57,28 +51,6 @@
     @XmlElement(name = "java-web-start-access")
     protected JavaWebStartAccess javaWebStartAccess;
 
-    /**
-     * 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 EjbRef }
-     * 
-     * 
-     */
     public List<EjbRef> getEjbRef() {
         if (ejbRef == null) {
             ejbRef = new ArrayList<EjbRef>();
@@ -86,28 +58,6 @@
         return this.ejbRef;
     }
 
-    /**
-     * 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 ResourceRef }
-     * 
-     * 
-     */
     public List<ResourceRef> getResourceRef() {
         if (resourceRef == null) {
             resourceRef = new ArrayList<ResourceRef>();
@@ -115,28 +65,6 @@
         return this.resourceRef;
     }
 
-    /**
-     * Gets the value of the resourceEnvRef property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getResourceEnvRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceEnvRef }
-     * 
-     * 
-     */
     public List<ResourceEnvRef> getResourceEnvRef() {
         if (resourceEnvRef == null) {
             resourceEnvRef = new ArrayList<ResourceEnvRef>();
@@ -144,28 +72,6 @@
         return this.resourceEnvRef;
     }
 
-    /**
-     * 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 ServiceRef }
-     * 
-     * 
-     */
     public List<ServiceRef> getServiceRef() {
         if (serviceRef == null) {
             serviceRef = new ArrayList<ServiceRef>();
@@ -173,28 +79,6 @@
         return this.serviceRef;
     }
 
-    /**
-     * Gets the value of the messageDestinationRef 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 messageDestinationRef property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getMessageDestinationRef().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link MessageDestinationRef }
-     * 
-     * 
-     */
     public List<MessageDestinationRef> getMessageDestinationRef() {
         if (messageDestinationRef == null) {
             messageDestinationRef = new ArrayList<MessageDestinationRef>();
@@ -202,28 +86,6 @@
         return this.messageDestinationRef;
     }
 
-    /**
-     * Gets the value of the messageDestination 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 messageDestination property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getMessageDestination().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link MessageDestination }
-     * 
-     * 
-     */
     public List<MessageDestination> getMessageDestination() {
         if (messageDestination == null) {
             messageDestination = new ArrayList<MessageDestination>();
@@ -231,28 +93,11 @@
         return this.messageDestination;
     }
 
-    /**
-     * Gets the value of the javaWebStartAccess property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link JavaWebStartAccess }
-     *     
-     */
     public JavaWebStartAccess getJavaWebStartAccess() {
         return javaWebStartAccess;
     }
 
-    /**
-     * Sets the value of the javaWebStartAccess property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link JavaWebStartAccess }
-     *     
-     */
     public void setJavaWebStartAccess(JavaWebStartAccess value) {
         this.javaWebStartAccess = value;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMapping.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMapping.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMapping.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMapping.java Mon Oct 15 21:38:53 2007
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import java.util.ArrayList;
@@ -22,77 +21,31 @@
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "schema",
     "entityMapping"
 })
-@XmlRootElement(name = "sun-cmp-mapping")
 public class SunCmpMapping {
-
     @XmlElement(required = true)
     protected String schema;
     @XmlElement(name = "entity-mapping", required = true)
     protected List<EntityMapping> entityMapping;
 
-    /**
-     * Gets the value of the schema property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
     public String getSchema() {
         return schema;
     }
 
-    /**
-     * Sets the value of the schema property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
     public void setSchema(String value) {
         this.schema = value;
     }
 
-    /**
-     * Gets the value of the entityMapping 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 entityMapping property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getEntityMapping().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EntityMapping }
-     * 
-     * 
-     */
     public List<EntityMapping> getEntityMapping() {
         if (entityMapping == null) {
             entityMapping = new ArrayList<EntityMapping>();
         }
         return this.entityMapping;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMappings.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMappings.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMappings.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunCmpMappings.java Mon Oct 15 21:38:53 2007
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import java.util.ArrayList;
@@ -25,47 +24,19 @@
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "sunCmpMapping"
 })
 @XmlRootElement(name = "sun-cmp-mappings")
 public class SunCmpMappings {
-
     @XmlElement(name = "sun-cmp-mapping", required = true)
     protected List<SunCmpMapping> sunCmpMapping;
 
-    /**
-     * Gets the value of the sunCmpMapping 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 sunCmpMapping property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getSunCmpMapping().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link SunCmpMapping }
-     * 
-     * 
-     */
     public List<SunCmpMapping> getSunCmpMapping() {
         if (sunCmpMapping == null) {
             sunCmpMapping = new ArrayList<SunCmpMapping>();
         }
         return this.sunCmpMapping;
     }
-
 }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunEjbJar.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunEjbJar.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunEjbJar.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunEjbJar.java Mon Oct 15 21:38:53 2007
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.openejb.jee.sun;
 
 import java.util.ArrayList;
@@ -25,10 +24,6 @@
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
 
-
-/**
- * 
- */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
     "securityRoleMapping",
@@ -36,34 +31,11 @@
 })
 @XmlRootElement(name = "sun-ejb-jar")
 public class SunEjbJar {
-
     @XmlElement(name = "security-role-mapping")
     protected List<SecurityRoleMapping> securityRoleMapping;
     @XmlElement(name = "enterprise-beans", required = true)
     protected EnterpriseBeans enterpriseBeans;
 
-    /**
-     * Gets the value of the securityRoleMapping 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 securityRoleMapping property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getSecurityRoleMapping().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link SecurityRoleMapping }
-     * 
-     * 
-     */
     public List<SecurityRoleMapping> getSecurityRoleMapping() {
         if (securityRoleMapping == null) {
             securityRoleMapping = new ArrayList<SecurityRoleMapping>();
@@ -71,28 +43,11 @@
         return this.securityRoleMapping;
     }
 
-    /**
-     * Gets the value of the enterpriseBeans property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link EnterpriseBeans }
-     *     
-     */
     public EnterpriseBeans getEnterpriseBeans() {
         return enterpriseBeans;
     }
 
-    /**
-     * Sets the value of the enterpriseBeans property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link EnterpriseBeans }
-     *     
-     */
     public void setEnterpriseBeans(EnterpriseBeans value) {
         this.enterpriseBeans = value;
     }
-
 }

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunWebApp.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunWebApp.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunWebApp.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/SunWebApp.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,245 @@
+/**
+ * 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.sun;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "contextRoot",
+    "securityRoleMapping",
+    "servlet",
+    "idempotentUrlPattern",
+    "sessionConfig",
+    "ejbRef",
+    "resourceRef",
+    "resourceEnvRef",
+    "serviceRef",
+    "messageDestinationRef",
+    "cache",
+    "classLoader",
+    "jspConfig",
+    "localeCharsetInfo",
+    "parameterEncoding",
+    "property",
+    "messageDestination",
+    "webserviceDescription"
+})
+@XmlRootElement(name = "sun-web-app")
+public class SunWebApp {
+    @XmlAttribute(name = "error-url")
+    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+    protected String errorUrl;
+    @XmlAttribute(name = "httpservlet-security-provider")
+    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+    protected String httpservletSecurityProvider;
+    @XmlElement(name = "context-root")
+    protected String contextRoot;
+    @XmlElement(name = "security-role-mapping")
+    protected List<SecurityRoleMapping> securityRoleMapping;
+    protected List<Servlet> servlet;
+    @XmlElement(name = "idempotent-url-pattern")
+    protected List<IdempotentUrlPattern> idempotentUrlPattern;
+    @XmlElement(name = "session-config")
+    protected SessionConfig sessionConfig;
+    @XmlElement(name = "ejb-ref")
+    protected List<EjbRef> ejbRef;
+    @XmlElement(name = "resource-ref")
+    protected List<ResourceRef> resourceRef;
+    @XmlElement(name = "resource-env-ref")
+    protected List<ResourceEnvRef> resourceEnvRef;
+    @XmlElement(name = "service-ref")
+    protected List<ServiceRef> serviceRef;
+    @XmlElement(name = "message-destination-ref")
+    protected List<MessageDestinationRef> messageDestinationRef;
+    protected Cache cache;
+    @XmlElement(name = "class-loader")
+    protected ClassLoader classLoader;
+    @XmlElement(name = "jsp-config")
+    protected JspConfig jspConfig;
+    @XmlElement(name = "locale-charset-info")
+    protected LocaleCharsetInfo localeCharsetInfo;
+    @XmlElement(name = "parameter-encoding")
+    protected ParameterEncoding parameterEncoding;
+    protected List<Property> property;
+    @XmlElement(name = "message-destination")
+    protected List<MessageDestination> messageDestination;
+    @XmlElement(name = "webservice-description")
+    protected List<WebserviceDescription> webserviceDescription;
+
+    public String getErrorUrl() {
+        if (errorUrl == null) {
+            return "";
+        } else {
+            return errorUrl;
+        }
+    }
+
+    public void setErrorUrl(String value) {
+        this.errorUrl = value;
+    }
+
+    public String getHttpservletSecurityProvider() {
+        return httpservletSecurityProvider;
+    }
+
+    public void setHttpservletSecurityProvider(String value) {
+        this.httpservletSecurityProvider = value;
+    }
+
+    public String getContextRoot() {
+        return contextRoot;
+    }
+
+    public void setContextRoot(String value) {
+        this.contextRoot = value;
+    }
+
+    public List<SecurityRoleMapping> getSecurityRoleMapping() {
+        if (securityRoleMapping == null) {
+            securityRoleMapping = new ArrayList<SecurityRoleMapping>();
+        }
+        return this.securityRoleMapping;
+    }
+
+    public List<Servlet> getServlet() {
+        if (servlet == null) {
+            servlet = new ArrayList<Servlet>();
+        }
+        return this.servlet;
+    }
+
+    public List<IdempotentUrlPattern> getIdempotentUrlPattern() {
+        if (idempotentUrlPattern == null) {
+            idempotentUrlPattern = new ArrayList<IdempotentUrlPattern>();
+        }
+        return this.idempotentUrlPattern;
+    }
+
+    public SessionConfig getSessionConfig() {
+        return sessionConfig;
+    }
+
+    public void setSessionConfig(SessionConfig value) {
+        this.sessionConfig = value;
+    }
+
+    public List<EjbRef> getEjbRef() {
+        if (ejbRef == null) {
+            ejbRef = new ArrayList<EjbRef>();
+        }
+        return this.ejbRef;
+    }
+
+    public List<ResourceRef> getResourceRef() {
+        if (resourceRef == null) {
+            resourceRef = new ArrayList<ResourceRef>();
+        }
+        return this.resourceRef;
+    }
+
+    public List<ResourceEnvRef> getResourceEnvRef() {
+        if (resourceEnvRef == null) {
+            resourceEnvRef = new ArrayList<ResourceEnvRef>();
+        }
+        return this.resourceEnvRef;
+    }
+
+    public List<ServiceRef> getServiceRef() {
+        if (serviceRef == null) {
+            serviceRef = new ArrayList<ServiceRef>();
+        }
+        return this.serviceRef;
+    }
+
+    public List<MessageDestinationRef> getMessageDestinationRef() {
+        if (messageDestinationRef == null) {
+            messageDestinationRef = new ArrayList<MessageDestinationRef>();
+        }
+        return this.messageDestinationRef;
+    }
+
+    public Cache getCache() {
+        return cache;
+    }
+
+    public void setCache(Cache value) {
+        this.cache = value;
+    }
+
+    public ClassLoader getClassLoader() {
+        return classLoader;
+    }
+
+    public void setClassLoader(ClassLoader value) {
+        this.classLoader = value;
+    }
+
+    public JspConfig getJspConfig() {
+        return jspConfig;
+    }
+
+    public void setJspConfig(JspConfig value) {
+        this.jspConfig = value;
+    }
+
+    public LocaleCharsetInfo getLocaleCharsetInfo() {
+        return localeCharsetInfo;
+    }
+
+    public void setLocaleCharsetInfo(LocaleCharsetInfo value) {
+        this.localeCharsetInfo = value;
+    }
+
+    public ParameterEncoding getParameterEncoding() {
+        return parameterEncoding;
+    }
+
+    public void setParameterEncoding(ParameterEncoding value) {
+        this.parameterEncoding = value;
+    }
+
+    public List<Property> getProperty() {
+        if (property == null) {
+            property = new ArrayList<Property>();
+        }
+        return this.property;
+    }
+
+    public List<MessageDestination> getMessageDestination() {
+        if (messageDestination == null) {
+            messageDestination = new ArrayList<MessageDestination>();
+        }
+        return this.messageDestination;
+    }
+
+    public List<WebserviceDescription> getWebserviceDescription() {
+        if (webserviceDescription == null) {
+            webserviceDescription = new ArrayList<WebserviceDescription>();
+        }
+        return this.webserviceDescription;
+    }
+}



Mime
View raw message