You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2006/12/20 01:13:44 UTC
svn commit: r488864 [20/23] - in
/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee:
./ jba/ jba/cmp/ jpa/ oej2/ sun/
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/WebServiceSecurityType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/WebServiceSecurityType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/WebServiceSecurityType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/WebServiceSecurityType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,162 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for web-service-securityType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="web-service-securityType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="security-realm-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="realm-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="transport-guarantee" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}transport-guaranteeType"/>
+ * <element name="auth-method" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}auth-methodType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "web-service-securityType", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", propOrder = {
+ "securityRealmName",
+ "realmName",
+ "transportGuarantee",
+ "authMethod"
+})
+public class WebServiceSecurityType {
+
+ @XmlElement(name = "security-realm-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+ protected java.lang.String securityRealmName;
+ @XmlElement(name = "realm-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+ protected java.lang.String realmName;
+ @XmlElement(name = "transport-guarantee", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+ protected TransportGuaranteeType transportGuarantee;
+ @XmlElement(name = "auth-method", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+ protected AuthMethodType authMethod;
+
+ /**
+ * Gets the value of the securityRealmName property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getSecurityRealmName() {
+ return securityRealmName;
+ }
+
+ /**
+ * Sets the value of the securityRealmName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setSecurityRealmName(java.lang.String value) {
+ this.securityRealmName = value;
+ }
+
+ /**
+ * Gets the value of the realmName property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getRealmName() {
+ return realmName;
+ }
+
+ /**
+ * Sets the value of the realmName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setRealmName(java.lang.String value) {
+ this.realmName = value;
+ }
+
+ /**
+ * Gets the value of the transportGuarantee property.
+ *
+ * @return
+ * possible object is
+ * {@link TransportGuaranteeType }
+ *
+ */
+ public TransportGuaranteeType getTransportGuarantee() {
+ return transportGuarantee;
+ }
+
+ /**
+ * Sets the value of the transportGuarantee property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TransportGuaranteeType }
+ *
+ */
+ public void setTransportGuarantee(TransportGuaranteeType value) {
+ this.transportGuarantee = value;
+ }
+
+ /**
+ * Gets the value of the authMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link AuthMethodType }
+ *
+ */
+ public AuthMethodType getAuthMethod() {
+ return authMethod;
+ }
+
+ /**
+ * Sets the value of the authMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AuthMethodType }
+ *
+ */
+ public void setAuthMethod(AuthMethodType value) {
+ this.authMethod = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/XmlAttributeType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/XmlAttributeType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/XmlAttributeType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/XmlAttributeType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,109 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for xml-attributeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="xml-attributeType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "xml-attributeType", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", propOrder = {
+ "any"
+})
+public class XmlAttributeType {
+
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ @XmlAttribute
+ protected java.lang.String name;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setName(java.lang.String value) {
+ this.name = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/package-info.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/package-info.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/package-info.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/package-info.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,18 @@
+/**
+ * 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.
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.openejb.jee.oej2;
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfig.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfig.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfig.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfig.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,97 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "description",
+ "activationConfigProperty"
+})
+@XmlRootElement(name = "activation-config")
+public class ActivationConfig {
+
+ protected String description;
+ @XmlElement(name = "activation-config-property", required = true)
+ protected List<ActivationConfigProperty> activationConfigProperty;
+
+ /**
+ * 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 activationConfigProperty 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 activationConfigProperty property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivationConfigProperty().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ActivationConfigProperty }
+ *
+ *
+ */
+ public List<ActivationConfigProperty> getActivationConfigProperty() {
+ if (activationConfigProperty == null) {
+ activationConfigProperty = new ArrayList<ActivationConfigProperty>();
+ }
+ return this.activationConfigProperty;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfigProperty.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfigProperty.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfigProperty.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ActivationConfigProperty.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,91 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "activationConfigPropertyName",
+ "activationConfigPropertyValue"
+})
+@XmlRootElement(name = "activation-config-property")
+public class ActivationConfigProperty {
+
+ @XmlElement(name = "activation-config-property-name", required = true)
+ protected String activationConfigPropertyName;
+ @XmlElement(name = "activation-config-property-value", required = true)
+ protected String activationConfigPropertyValue;
+
+ /**
+ * Gets the value of the activationConfigPropertyName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActivationConfigPropertyName() {
+ return activationConfigPropertyName;
+ }
+
+ /**
+ * Sets the value of the activationConfigPropertyName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActivationConfigPropertyName(String value) {
+ this.activationConfigPropertyName = value;
+ }
+
+ /**
+ * Gets the value of the activationConfigPropertyValue property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActivationConfigPropertyValue() {
+ return activationConfigPropertyValue;
+ }
+
+ /**
+ * Sets the value of the activationConfigPropertyValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActivationConfigPropertyValue(String value) {
+ this.activationConfigPropertyValue = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/AsContext.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/AsContext.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/AsContext.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/AsContext.java Tue Dec 19 16:13:33 2006
@@ -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.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 = {
+ "authMethod",
+ "realm",
+ "required"
+})
+@XmlRootElement(name = "as-context")
+public class AsContext {
+
+ @XmlElement(name = "auth-method", required = true)
+ protected String authMethod;
+ @XmlElement(required = true)
+ protected String realm;
+ @XmlElement(required = true)
+ protected String required;
+
+ /**
+ * Gets the value of the authMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAuthMethod() {
+ return authMethod;
+ }
+
+ /**
+ * Sets the value of the authMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAuthMethod(String value) {
+ this.authMethod = value;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * Gets the value of the required property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequired() {
+ return required;
+ }
+
+ /**
+ * Sets the value of the required property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequired(String value) {
+ this.required = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanCache.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanCache.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanCache.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanCache.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,199 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "maxCacheSize",
+ "resizeQuantity",
+ "isCacheOverflowAllowed",
+ "cacheIdleTimeoutInSeconds",
+ "removalTimeoutInSeconds",
+ "victimSelectionPolicy"
+})
+@XmlRootElement(name = "bean-cache")
+public class BeanCache {
+
+ @XmlElement(name = "max-cache-size")
+ protected String maxCacheSize;
+ @XmlElement(name = "resize-quantity")
+ protected String resizeQuantity;
+ @XmlElement(name = "is-cache-overflow-allowed")
+ protected String isCacheOverflowAllowed;
+ @XmlElement(name = "cache-idle-timeout-in-seconds")
+ protected String cacheIdleTimeoutInSeconds;
+ @XmlElement(name = "removal-timeout-in-seconds")
+ protected String removalTimeoutInSeconds;
+ @XmlElement(name = "victim-selection-policy")
+ protected String victimSelectionPolicy;
+
+ /**
+ * Gets the value of the maxCacheSize property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMaxCacheSize() {
+ return maxCacheSize;
+ }
+
+ /**
+ * Sets the value of the maxCacheSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMaxCacheSize(String value) {
+ this.maxCacheSize = value;
+ }
+
+ /**
+ * Gets the value of the resizeQuantity property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResizeQuantity() {
+ return resizeQuantity;
+ }
+
+ /**
+ * Sets the value of the resizeQuantity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResizeQuantity(String value) {
+ this.resizeQuantity = value;
+ }
+
+ /**
+ * Gets the value of the isCacheOverflowAllowed property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIsCacheOverflowAllowed() {
+ return isCacheOverflowAllowed;
+ }
+
+ /**
+ * Sets the value of the isCacheOverflowAllowed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsCacheOverflowAllowed(String value) {
+ this.isCacheOverflowAllowed = value;
+ }
+
+ /**
+ * Gets the value of the cacheIdleTimeoutInSeconds property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCacheIdleTimeoutInSeconds() {
+ return cacheIdleTimeoutInSeconds;
+ }
+
+ /**
+ * Sets the value of the cacheIdleTimeoutInSeconds property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCacheIdleTimeoutInSeconds(String value) {
+ this.cacheIdleTimeoutInSeconds = value;
+ }
+
+ /**
+ * Gets the value of the removalTimeoutInSeconds property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRemovalTimeoutInSeconds() {
+ return removalTimeoutInSeconds;
+ }
+
+ /**
+ * Sets the value of the removalTimeoutInSeconds property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRemovalTimeoutInSeconds(String value) {
+ this.removalTimeoutInSeconds = value;
+ }
+
+ /**
+ * Gets the value of the victimSelectionPolicy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVictimSelectionPolicy() {
+ return victimSelectionPolicy;
+ }
+
+ /**
+ * Sets the value of the victimSelectionPolicy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVictimSelectionPolicy(String value) {
+ this.victimSelectionPolicy = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanPool.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanPool.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanPool.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/BeanPool.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,172 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "steadyPoolSize",
+ "resizeQuantity",
+ "maxPoolSize",
+ "poolIdleTimeoutInSeconds",
+ "maxWaitTimeInMillis"
+})
+@XmlRootElement(name = "bean-pool")
+public class BeanPool {
+
+ @XmlElement(name = "steady-pool-size")
+ protected String steadyPoolSize;
+ @XmlElement(name = "resize-quantity")
+ protected String resizeQuantity;
+ @XmlElement(name = "max-pool-size")
+ protected String maxPoolSize;
+ @XmlElement(name = "pool-idle-timeout-in-seconds")
+ protected String poolIdleTimeoutInSeconds;
+ @XmlElement(name = "max-wait-time-in-millis")
+ protected String maxWaitTimeInMillis;
+
+ /**
+ * Gets the value of the steadyPoolSize property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSteadyPoolSize() {
+ return steadyPoolSize;
+ }
+
+ /**
+ * Sets the value of the steadyPoolSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSteadyPoolSize(String value) {
+ this.steadyPoolSize = value;
+ }
+
+ /**
+ * Gets the value of the resizeQuantity property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResizeQuantity() {
+ return resizeQuantity;
+ }
+
+ /**
+ * Sets the value of the resizeQuantity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResizeQuantity(String value) {
+ this.resizeQuantity = value;
+ }
+
+ /**
+ * Gets the value of the maxPoolSize property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMaxPoolSize() {
+ return maxPoolSize;
+ }
+
+ /**
+ * Sets the value of the maxPoolSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMaxPoolSize(String value) {
+ this.maxPoolSize = value;
+ }
+
+ /**
+ * Gets the value of the poolIdleTimeoutInSeconds property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPoolIdleTimeoutInSeconds() {
+ return poolIdleTimeoutInSeconds;
+ }
+
+ /**
+ * Sets the value of the poolIdleTimeoutInSeconds property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPoolIdleTimeoutInSeconds(String value) {
+ this.poolIdleTimeoutInSeconds = value;
+ }
+
+ /**
+ * Gets the value of the maxWaitTimeInMillis property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMaxWaitTimeInMillis() {
+ return maxWaitTimeInMillis;
+ }
+
+ /**
+ * Sets the value of the maxWaitTimeInMillis property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMaxWaitTimeInMillis(String value) {
+ this.maxWaitTimeInMillis = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CallProperty.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CallProperty.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CallProperty.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CallProperty.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,91 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "name",
+ "value"
+})
+@XmlRootElement(name = "call-property")
+public class CallProperty {
+
+ @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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckAllAtCommit.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckAllAtCommit.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckAllAtCommit.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckAllAtCommit.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,35 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "check-all-at-commit")
+public class CheckAllAtCommit {
+
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckModifiedAtCommit.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckModifiedAtCommit.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckModifiedAtCommit.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckModifiedAtCommit.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,35 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "check-modified-at-commit")
+public class CheckModifiedAtCommit {
+
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckVersionOfAccessedInstances.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckVersionOfAccessedInstances.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckVersionOfAccessedInstances.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckVersionOfAccessedInstances.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,71 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "columnName"
+})
+@XmlRootElement(name = "check-version-of-accessed-instances")
+public class CheckVersionOfAccessedInstances {
+
+ @XmlElement(name = "column-name", required = true)
+ protected List<ColumnName> columnName;
+
+ /**
+ * Gets the value of the columnName 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 columnName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getColumnName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ColumnName }
+ *
+ *
+ */
+ public List<ColumnName> getColumnName() {
+ if (columnName == null) {
+ columnName = new ArrayList<ColumnName>();
+ }
+ return this.columnName;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckpointAtEndOfMethod.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckpointAtEndOfMethod.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckpointAtEndOfMethod.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CheckpointAtEndOfMethod.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,71 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "method"
+})
+@XmlRootElement(name = "checkpoint-at-end-of-method")
+public class CheckpointAtEndOfMethod {
+
+ @XmlElement(required = true)
+ protected List<Method> method;
+
+ /**
+ * Gets the value of the method 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 method property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMethod().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Method }
+ *
+ *
+ */
+ public List<Method> getMethod() {
+ if (method == null) {
+ method = new ArrayList<Method>();
+ }
+ return this.method;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Cmp.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Cmp.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Cmp.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Cmp.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,145 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "mappingProperties",
+ "isOneOneCmp",
+ "oneOneFinders",
+ "prefetchDisabled"
+})
+@XmlRootElement(name = "cmp")
+public class Cmp {
+
+ @XmlElement(name = "mapping-properties")
+ protected String mappingProperties;
+ @XmlElement(name = "is-one-one-cmp")
+ protected String isOneOneCmp;
+ @XmlElement(name = "one-one-finders")
+ protected OneOneFinders oneOneFinders;
+ @XmlElement(name = "prefetch-disabled")
+ protected PrefetchDisabled prefetchDisabled;
+
+ /**
+ * Gets the value of the mappingProperties property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMappingProperties() {
+ return mappingProperties;
+ }
+
+ /**
+ * Sets the value of the mappingProperties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMappingProperties(String value) {
+ this.mappingProperties = value;
+ }
+
+ /**
+ * Gets the value of the isOneOneCmp property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIsOneOneCmp() {
+ return isOneOneCmp;
+ }
+
+ /**
+ * Sets the value of the isOneOneCmp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsOneOneCmp(String value) {
+ this.isOneOneCmp = value;
+ }
+
+ /**
+ * Gets the value of the oneOneFinders property.
+ *
+ * @return
+ * possible object is
+ * {@link OneOneFinders }
+ *
+ */
+ public OneOneFinders getOneOneFinders() {
+ return oneOneFinders;
+ }
+
+ /**
+ * Sets the value of the oneOneFinders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link OneOneFinders }
+ *
+ */
+ public void setOneOneFinders(OneOneFinders value) {
+ this.oneOneFinders = value;
+ }
+
+ /**
+ * Gets the value of the prefetchDisabled property.
+ *
+ * @return
+ * possible object is
+ * {@link PrefetchDisabled }
+ *
+ */
+ public PrefetchDisabled getPrefetchDisabled() {
+ return prefetchDisabled;
+ }
+
+ /**
+ * Sets the value of the prefetchDisabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PrefetchDisabled }
+ *
+ */
+ public void setPrefetchDisabled(PrefetchDisabled value) {
+ this.prefetchDisabled = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpFieldMapping.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpFieldMapping.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpFieldMapping.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpFieldMapping.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,152 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "fieldName",
+ "columnName",
+ "readOnly",
+ "fetchedWith"
+})
+@XmlRootElement(name = "cmp-field-mapping")
+public class CmpFieldMapping {
+
+ @XmlElement(name = "field-name", required = true)
+ protected String fieldName;
+ @XmlElement(name = "column-name", required = true)
+ protected List<ColumnName> columnName;
+ @XmlElement(name = "read-only")
+ protected ReadOnly readOnly;
+ @XmlElement(name = "fetched-with")
+ protected FetchedWith fetchedWith;
+
+ /**
+ * Gets the value of the fieldName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFieldName() {
+ return fieldName;
+ }
+
+ /**
+ * Sets the value of the fieldName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFieldName(String value) {
+ this.fieldName = value;
+ }
+
+ /**
+ * Gets the value of the columnName 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 columnName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getColumnName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ColumnName }
+ *
+ *
+ */
+ public List<ColumnName> getColumnName() {
+ if (columnName == null) {
+ columnName = new ArrayList<ColumnName>();
+ }
+ return this.columnName;
+ }
+
+ /**
+ * Gets the value of the readOnly property.
+ *
+ * @return
+ * possible object is
+ * {@link ReadOnly }
+ *
+ */
+ public ReadOnly getReadOnly() {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the readOnly property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ReadOnly }
+ *
+ */
+ public void setReadOnly(ReadOnly value) {
+ this.readOnly = value;
+ }
+
+ /**
+ * Gets the value of the fetchedWith property.
+ *
+ * @return
+ * possible object is
+ * {@link FetchedWith }
+ *
+ */
+ public FetchedWith getFetchedWith() {
+ return fetchedWith;
+ }
+
+ /**
+ * Sets the value of the fetchedWith property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FetchedWith }
+ *
+ */
+ public void setFetchedWith(FetchedWith value) {
+ this.fetchedWith = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpResource.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpResource.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpResource.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmpResource.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,232 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "jndiName",
+ "defaultResourcePrincipal",
+ "property",
+ "createTablesAtDeploy",
+ "dropTablesAtUndeploy",
+ "databaseVendorName",
+ "schemaGeneratorProperties"
+})
+@XmlRootElement(name = "cmp-resource")
+public class CmpResource {
+
+ @XmlElement(name = "jndi-name", required = true)
+ protected String jndiName;
+ @XmlElement(name = "default-resource-principal")
+ protected DefaultResourcePrincipal defaultResourcePrincipal;
+ protected List<Property> property;
+ @XmlElement(name = "create-tables-at-deploy")
+ protected String createTablesAtDeploy;
+ @XmlElement(name = "drop-tables-at-undeploy")
+ protected String dropTablesAtUndeploy;
+ @XmlElement(name = "database-vendor-name")
+ protected String databaseVendorName;
+ @XmlElement(name = "schema-generator-properties")
+ protected SchemaGeneratorProperties schemaGeneratorProperties;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * Gets the value of the createTablesAtDeploy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCreateTablesAtDeploy() {
+ return createTablesAtDeploy;
+ }
+
+ /**
+ * Sets the value of the createTablesAtDeploy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCreateTablesAtDeploy(String value) {
+ this.createTablesAtDeploy = value;
+ }
+
+ /**
+ * Gets the value of the dropTablesAtUndeploy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDropTablesAtUndeploy() {
+ return dropTablesAtUndeploy;
+ }
+
+ /**
+ * Sets the value of the dropTablesAtUndeploy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDropTablesAtUndeploy(String value) {
+ this.dropTablesAtUndeploy = value;
+ }
+
+ /**
+ * Gets the value of the databaseVendorName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatabaseVendorName() {
+ return databaseVendorName;
+ }
+
+ /**
+ * Sets the value of the databaseVendorName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatabaseVendorName(String value) {
+ this.databaseVendorName = value;
+ }
+
+ /**
+ * Gets the value of the schemaGeneratorProperties property.
+ *
+ * @return
+ * possible object is
+ * {@link SchemaGeneratorProperties }
+ *
+ */
+ public SchemaGeneratorProperties getSchemaGeneratorProperties() {
+ return schemaGeneratorProperties;
+ }
+
+ /**
+ * Sets the value of the schemaGeneratorProperties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SchemaGeneratorProperties }
+ *
+ */
+ public void setSchemaGeneratorProperties(SchemaGeneratorProperties value) {
+ this.schemaGeneratorProperties = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmrFieldMapping.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmrFieldMapping.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmrFieldMapping.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/CmrFieldMapping.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,125 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "cmrFieldName",
+ "columnPair",
+ "fetchedWith"
+})
+@XmlRootElement(name = "cmr-field-mapping")
+public class CmrFieldMapping {
+
+ @XmlElement(name = "cmr-field-name", required = true)
+ protected String cmrFieldName;
+ @XmlElement(name = "column-pair", required = true)
+ protected List<ColumnPair> columnPair;
+ @XmlElement(name = "fetched-with")
+ protected FetchedWith fetchedWith;
+
+ /**
+ * Gets the value of the cmrFieldName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCmrFieldName() {
+ return cmrFieldName;
+ }
+
+ /**
+ * Sets the value of the cmrFieldName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCmrFieldName(String value) {
+ this.cmrFieldName = 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;
+ }
+
+ /**
+ * Gets the value of the fetchedWith property.
+ *
+ * @return
+ * possible object is
+ * {@link FetchedWith }
+ *
+ */
+ public FetchedWith getFetchedWith() {
+ return fetchedWith;
+ }
+
+ /**
+ * Sets the value of the fetchedWith property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FetchedWith }
+ *
+ */
+ public void setFetchedWith(FetchedWith value) {
+ this.fetchedWith = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnName.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnName.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnName.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnName.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,64 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "value"
+})
+@XmlRootElement(name = "column-name")
+public class ColumnName {
+
+ @XmlValue
+ protected String 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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnPair.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnPair.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnPair.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ColumnPair.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,71 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "columnName"
+})
+@XmlRootElement(name = "column-pair")
+public class ColumnPair {
+
+ @XmlElement(name = "column-name")
+ protected List<ColumnName> columnName;
+
+ /**
+ * Gets the value of the columnName 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 columnName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getColumnName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ColumnName }
+ *
+ *
+ */
+ public List<ColumnName> getColumnName() {
+ if (columnName == null) {
+ columnName = new ArrayList<ColumnName>();
+ }
+ return this.columnName;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Consistency.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Consistency.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Consistency.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Consistency.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,84 @@
+/**
+ * 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.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances"
+})
+@XmlRootElement(name = "consistency")
+public class Consistency {
+
+ @XmlElements({
+ @XmlElement(name = "none", required = true, type = None.class),
+ @XmlElement(name = "check-modified-at-commit", required = true, type = CheckModifiedAtCommit.class),
+ @XmlElement(name = "lock-when-loaded", required = true, type = LockWhenLoaded.class),
+ @XmlElement(name = "check-all-at-commit", required = true, type = CheckAllAtCommit.class),
+ @XmlElement(name = "lock-when-modified", required = true, type = LockWhenModified.class),
+ @XmlElement(name = "check-version-of-accessed-instances", required = true, type = CheckVersionOfAccessedInstances.class)
+ })
+ protected List<Object> noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances;
+
+ /**
+ * Gets the value of the noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances 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 noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNoneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link None }
+ * {@link CheckModifiedAtCommit }
+ * {@link LockWhenLoaded }
+ * {@link CheckAllAtCommit }
+ * {@link LockWhenModified }
+ * {@link CheckVersionOfAccessedInstances }
+ *
+ *
+ */
+ public List<Object> getNoneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances() {
+ if (noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances == null) {
+ noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances = new ArrayList<Object>();
+ }
+ return this.noneOrCheckModifiedAtCommitOrLockWhenLoadedOrCheckAllAtCommitOrLockWhenModifiedOrCheckVersionOfAccessedInstances;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Default.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Default.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Default.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Default.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,35 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "default")
+public class Default {
+
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/DefaultResourcePrincipal.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/DefaultResourcePrincipal.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/DefaultResourcePrincipal.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/DefaultResourcePrincipal.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,91 @@
+/**
+ * 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "name",
+ "password"
+})
+@XmlRootElement(name = "default-resource-principal")
+public class DefaultResourcePrincipal {
+
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String password;
+
+ /**
+ * 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 password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}