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 [21/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/sun/Ejb.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Ejb.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Ejb.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Ejb.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,826 @@
+/**
+ * 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 = {
+ "ejbName",
+ "jndiName",
+ "ejbRef",
+ "resourceRef",
+ "resourceEnvRef",
+ "serviceRef",
+ "messageDestinationRef",
+ "passByReference",
+ "cmp",
+ "principal",
+ "mdbConnectionFactory",
+ "jmsDurableSubscriptionName",
+ "jmsMaxMessagesLoad",
+ "iorSecurityConfig",
+ "isReadOnlyBean",
+ "refreshPeriodInSeconds",
+ "commitOption",
+ "cmtTimeoutInSeconds",
+ "useThreadPoolId",
+ "genClasses",
+ "beanPool",
+ "beanCache",
+ "mdbResourceAdapter",
+ "webserviceEndpoint",
+ "flushAtEndOfMethod",
+ "checkpointedMethods",
+ "checkpointAtEndOfMethod"
+})
+@XmlRootElement(name = "ejb")
+public class Ejb {
+
+ @XmlAttribute(name = "availability-enabled")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String availabilityEnabled;
+ @XmlElement(name = "ejb-name", required = true)
+ protected String ejbName;
+ @XmlElement(name = "jndi-name")
+ protected String jndiName;
+ @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;
+ @XmlElement(name = "pass-by-reference")
+ protected String passByReference;
+ protected Cmp cmp;
+ protected Principal principal;
+ @XmlElement(name = "mdb-connection-factory")
+ protected MdbConnectionFactory mdbConnectionFactory;
+ @XmlElement(name = "jms-durable-subscription-name")
+ protected String jmsDurableSubscriptionName;
+ @XmlElement(name = "jms-max-messages-load")
+ protected String jmsMaxMessagesLoad;
+ @XmlElement(name = "ior-security-config")
+ protected IorSecurityConfig iorSecurityConfig;
+ @XmlElement(name = "is-read-only-bean")
+ protected String isReadOnlyBean;
+ @XmlElement(name = "refresh-period-in-seconds")
+ protected String refreshPeriodInSeconds;
+ @XmlElement(name = "commit-option")
+ protected String commitOption;
+ @XmlElement(name = "cmt-timeout-in-seconds")
+ protected String cmtTimeoutInSeconds;
+ @XmlElement(name = "use-thread-pool-id")
+ protected String useThreadPoolId;
+ @XmlElement(name = "gen-classes")
+ protected GenClasses genClasses;
+ @XmlElement(name = "bean-pool")
+ protected BeanPool beanPool;
+ @XmlElement(name = "bean-cache")
+ protected BeanCache beanCache;
+ @XmlElement(name = "mdb-resource-adapter")
+ protected MdbResourceAdapter mdbResourceAdapter;
+ @XmlElement(name = "webservice-endpoint")
+ protected List<WebserviceEndpoint> webserviceEndpoint;
+ @XmlElement(name = "flush-at-end-of-method")
+ protected FlushAtEndOfMethod flushAtEndOfMethod;
+ @XmlElement(name = "checkpointed-methods")
+ protected String checkpointedMethods;
+ @XmlElement(name = "checkpoint-at-end-of-method")
+ protected CheckpointAtEndOfMethod checkpointAtEndOfMethod;
+
+ /**
+ * Gets the value of the availabilityEnabled property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAvailabilityEnabled() {
+ return availabilityEnabled;
+ }
+
+ /**
+ * Sets the value of the availabilityEnabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAvailabilityEnabled(String value) {
+ this.availabilityEnabled = value;
+ }
+
+ /**
+ * Gets the value of the ejbName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEjbName() {
+ return ejbName;
+ }
+
+ /**
+ * Sets the value of the ejbName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEjbName(String value) {
+ this.ejbName = 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 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ 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>();
+ }
+ return this.messageDestinationRef;
+ }
+
+ /**
+ * 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 cmp property.
+ *
+ * @return
+ * possible object is
+ * {@link Cmp }
+ *
+ */
+ public Cmp getCmp() {
+ return cmp;
+ }
+
+ /**
+ * Sets the value of the cmp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Cmp }
+ *
+ */
+ public void setCmp(Cmp value) {
+ this.cmp = value;
+ }
+
+ /**
+ * Gets the value of the principal property.
+ *
+ * @return
+ * possible object is
+ * {@link Principal }
+ *
+ */
+ public Principal getPrincipal() {
+ return principal;
+ }
+
+ /**
+ * Sets the value of the principal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Principal }
+ *
+ */
+ public void setPrincipal(Principal value) {
+ this.principal = value;
+ }
+
+ /**
+ * Gets the value of the mdbConnectionFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link MdbConnectionFactory }
+ *
+ */
+ public MdbConnectionFactory getMdbConnectionFactory() {
+ return mdbConnectionFactory;
+ }
+
+ /**
+ * Sets the value of the mdbConnectionFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MdbConnectionFactory }
+ *
+ */
+ public void setMdbConnectionFactory(MdbConnectionFactory value) {
+ this.mdbConnectionFactory = value;
+ }
+
+ /**
+ * Gets the value of the jmsDurableSubscriptionName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getJmsDurableSubscriptionName() {
+ return jmsDurableSubscriptionName;
+ }
+
+ /**
+ * Sets the value of the jmsDurableSubscriptionName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setJmsDurableSubscriptionName(String value) {
+ this.jmsDurableSubscriptionName = value;
+ }
+
+ /**
+ * Gets the value of the jmsMaxMessagesLoad property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getJmsMaxMessagesLoad() {
+ return jmsMaxMessagesLoad;
+ }
+
+ /**
+ * Sets the value of the jmsMaxMessagesLoad property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setJmsMaxMessagesLoad(String value) {
+ this.jmsMaxMessagesLoad = value;
+ }
+
+ /**
+ * Gets the value of the iorSecurityConfig property.
+ *
+ * @return
+ * possible object is
+ * {@link IorSecurityConfig }
+ *
+ */
+ public IorSecurityConfig getIorSecurityConfig() {
+ return iorSecurityConfig;
+ }
+
+ /**
+ * Sets the value of the iorSecurityConfig property.
+ *
+ * @param value
+ * allowed object is
+ * {@link IorSecurityConfig }
+ *
+ */
+ public void setIorSecurityConfig(IorSecurityConfig value) {
+ this.iorSecurityConfig = value;
+ }
+
+ /**
+ * Gets the value of the isReadOnlyBean property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIsReadOnlyBean() {
+ return isReadOnlyBean;
+ }
+
+ /**
+ * Sets the value of the isReadOnlyBean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIsReadOnlyBean(String value) {
+ this.isReadOnlyBean = value;
+ }
+
+ /**
+ * Gets the value of the refreshPeriodInSeconds property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefreshPeriodInSeconds() {
+ return refreshPeriodInSeconds;
+ }
+
+ /**
+ * Sets the value of the refreshPeriodInSeconds property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefreshPeriodInSeconds(String value) {
+ this.refreshPeriodInSeconds = value;
+ }
+
+ /**
+ * Gets the value of the commitOption property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCommitOption() {
+ return commitOption;
+ }
+
+ /**
+ * Sets the value of the commitOption property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCommitOption(String value) {
+ this.commitOption = value;
+ }
+
+ /**
+ * Gets the value of the cmtTimeoutInSeconds property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCmtTimeoutInSeconds() {
+ return cmtTimeoutInSeconds;
+ }
+
+ /**
+ * Sets the value of the cmtTimeoutInSeconds property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCmtTimeoutInSeconds(String value) {
+ this.cmtTimeoutInSeconds = value;
+ }
+
+ /**
+ * Gets the value of the useThreadPoolId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUseThreadPoolId() {
+ return useThreadPoolId;
+ }
+
+ /**
+ * Sets the value of the useThreadPoolId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUseThreadPoolId(String value) {
+ this.useThreadPoolId = value;
+ }
+
+ /**
+ * Gets the value of the genClasses property.
+ *
+ * @return
+ * possible object is
+ * {@link GenClasses }
+ *
+ */
+ public GenClasses getGenClasses() {
+ return genClasses;
+ }
+
+ /**
+ * Sets the value of the genClasses property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GenClasses }
+ *
+ */
+ public void setGenClasses(GenClasses value) {
+ this.genClasses = value;
+ }
+
+ /**
+ * Gets the value of the beanPool property.
+ *
+ * @return
+ * possible object is
+ * {@link BeanPool }
+ *
+ */
+ public BeanPool getBeanPool() {
+ return beanPool;
+ }
+
+ /**
+ * Sets the value of the beanPool property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BeanPool }
+ *
+ */
+ public void setBeanPool(BeanPool value) {
+ this.beanPool = value;
+ }
+
+ /**
+ * Gets the value of the beanCache property.
+ *
+ * @return
+ * possible object is
+ * {@link BeanCache }
+ *
+ */
+ public BeanCache getBeanCache() {
+ return beanCache;
+ }
+
+ /**
+ * Sets the value of the beanCache property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BeanCache }
+ *
+ */
+ public void setBeanCache(BeanCache value) {
+ this.beanCache = value;
+ }
+
+ /**
+ * Gets the value of the mdbResourceAdapter property.
+ *
+ * @return
+ * possible object is
+ * {@link MdbResourceAdapter }
+ *
+ */
+ public MdbResourceAdapter getMdbResourceAdapter() {
+ return mdbResourceAdapter;
+ }
+
+ /**
+ * Sets the value of the mdbResourceAdapter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MdbResourceAdapter }
+ *
+ */
+ public void setMdbResourceAdapter(MdbResourceAdapter value) {
+ this.mdbResourceAdapter = value;
+ }
+
+ /**
+ * Gets the value of the webserviceEndpoint 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 webserviceEndpoint property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebserviceEndpoint().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WebserviceEndpoint }
+ *
+ *
+ */
+ public List<WebserviceEndpoint> getWebserviceEndpoint() {
+ if (webserviceEndpoint == null) {
+ webserviceEndpoint = new ArrayList<WebserviceEndpoint>();
+ }
+ return this.webserviceEndpoint;
+ }
+
+ /**
+ * Gets the value of the flushAtEndOfMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link FlushAtEndOfMethod }
+ *
+ */
+ public FlushAtEndOfMethod getFlushAtEndOfMethod() {
+ return flushAtEndOfMethod;
+ }
+
+ /**
+ * Sets the value of the flushAtEndOfMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FlushAtEndOfMethod }
+ *
+ */
+ public void setFlushAtEndOfMethod(FlushAtEndOfMethod value) {
+ this.flushAtEndOfMethod = value;
+ }
+
+ /**
+ * Gets the value of the checkpointedMethods property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCheckpointedMethods() {
+ return checkpointedMethods;
+ }
+
+ /**
+ * Sets the value of the checkpointedMethods property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCheckpointedMethods(String value) {
+ this.checkpointedMethods = value;
+ }
+
+ /**
+ * Gets the value of the checkpointAtEndOfMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link CheckpointAtEndOfMethod }
+ *
+ */
+ public CheckpointAtEndOfMethod getCheckpointAtEndOfMethod() {
+ return checkpointAtEndOfMethod;
+ }
+
+ /**
+ * Sets the value of the checkpointAtEndOfMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CheckpointAtEndOfMethod }
+ *
+ */
+ public void setCheckpointAtEndOfMethod(CheckpointAtEndOfMethod value) {
+ this.checkpointAtEndOfMethod = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EjbRef.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EjbRef.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EjbRef.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EjbRef.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 = {
+ "ejbRefName",
+ "jndiName"
+})
+@XmlRootElement(name = "ejb-ref")
+public class EjbRef {
+
+ @XmlElement(name = "ejb-ref-name", required = true)
+ protected String ejbRefName;
+ @XmlElement(name = "jndi-name", required = true)
+ protected String jndiName;
+
+ /**
+ * Gets the value of the ejbRefName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEjbRefName() {
+ return ejbRefName;
+ }
+
+ /**
+ * Sets the value of the ejbRefName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEjbRefName(String value) {
+ this.ejbRefName = 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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EnterpriseBeans.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EnterpriseBeans.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EnterpriseBeans.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EnterpriseBeans.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,241 @@
+/**
+ * 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 = {
+ "name",
+ "uniqueId",
+ "ejb",
+ "pmDescriptors",
+ "cmpResource",
+ "messageDestination",
+ "webserviceDescription"
+})
+@XmlRootElement(name = "enterprise-beans")
+public class EnterpriseBeans {
+
+ protected String name;
+ @XmlElement(name = "unique-id")
+ protected String uniqueId;
+ protected List<Ejb> ejb;
+ @XmlElement(name = "pm-descriptors")
+ protected PmDescriptors pmDescriptors;
+ @XmlElement(name = "cmp-resource")
+ protected CmpResource cmpResource;
+ @XmlElement(name = "message-destination")
+ protected List<MessageDestination> messageDestination;
+ @XmlElement(name = "webservice-description")
+ protected List<WebserviceDescription> webserviceDescription;
+
+ /**
+ * 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 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 ejb 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 ejb property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEjb().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Ejb }
+ *
+ *
+ */
+ public List<Ejb> getEjb() {
+ if (ejb == null) {
+ ejb = new ArrayList<Ejb>();
+ }
+ return this.ejb;
+ }
+
+ /**
+ * Gets the value of the pmDescriptors property.
+ *
+ * @return
+ * possible object is
+ * {@link PmDescriptors }
+ *
+ */
+ public PmDescriptors getPmDescriptors() {
+ return pmDescriptors;
+ }
+
+ /**
+ * Sets the value of the pmDescriptors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PmDescriptors }
+ *
+ */
+ public void setPmDescriptors(PmDescriptors value) {
+ this.pmDescriptors = value;
+ }
+
+ /**
+ * Gets the value of the cmpResource property.
+ *
+ * @return
+ * possible object is
+ * {@link CmpResource }
+ *
+ */
+ public CmpResource getCmpResource() {
+ return cmpResource;
+ }
+
+ /**
+ * Sets the value of the cmpResource property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CmpResource }
+ *
+ */
+ public void setCmpResource(CmpResource value) {
+ this.cmpResource = value;
+ }
+
+ /**
+ * 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>();
+ }
+ return this.messageDestination;
+ }
+
+ /**
+ * Gets the value of the webserviceDescription 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 webserviceDescription property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebserviceDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WebserviceDescription }
+ *
+ *
+ */
+ public List<WebserviceDescription> getWebserviceDescription() {
+ if (webserviceDescription == null) {
+ webserviceDescription = new ArrayList<WebserviceDescription>();
+ }
+ return this.webserviceDescription;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EntityMapping.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EntityMapping.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EntityMapping.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/EntityMapping.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,215 @@
+/**
+ * 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 = {
+ "ejbName",
+ "tableName",
+ "cmpFieldMapping",
+ "cmrFieldMapping",
+ "secondaryTable",
+ "consistency"
+})
+@XmlRootElement(name = "entity-mapping")
+public class EntityMapping {
+
+ @XmlElement(name = "ejb-name", required = true)
+ protected String ejbName;
+ @XmlElement(name = "table-name", required = true)
+ protected String tableName;
+ @XmlElement(name = "cmp-field-mapping", required = true)
+ protected List<CmpFieldMapping> cmpFieldMapping;
+ @XmlElement(name = "cmr-field-mapping")
+ protected List<CmrFieldMapping> cmrFieldMapping;
+ @XmlElement(name = "secondary-table")
+ protected List<SecondaryTable> secondaryTable;
+ protected Consistency consistency;
+
+ /**
+ * Gets the value of the ejbName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEjbName() {
+ return ejbName;
+ }
+
+ /**
+ * Sets the value of the ejbName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEjbName(String value) {
+ this.ejbName = value;
+ }
+
+ /**
+ * 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 cmpFieldMapping 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 cmpFieldMapping property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCmpFieldMapping().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmpFieldMapping }
+ *
+ *
+ */
+ public List<CmpFieldMapping> getCmpFieldMapping() {
+ if (cmpFieldMapping == null) {
+ cmpFieldMapping = new ArrayList<CmpFieldMapping>();
+ }
+ return this.cmpFieldMapping;
+ }
+
+ /**
+ * Gets the value of the cmrFieldMapping 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 cmrFieldMapping property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCmrFieldMapping().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmrFieldMapping }
+ *
+ *
+ */
+ public List<CmrFieldMapping> getCmrFieldMapping() {
+ if (cmrFieldMapping == null) {
+ cmrFieldMapping = new ArrayList<CmrFieldMapping>();
+ }
+ return this.cmrFieldMapping;
+ }
+
+ /**
+ * Gets the value of the secondaryTable 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 secondaryTable property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSecondaryTable().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SecondaryTable }
+ *
+ *
+ */
+ public List<SecondaryTable> getSecondaryTable() {
+ if (secondaryTable == null) {
+ secondaryTable = new ArrayList<SecondaryTable>();
+ }
+ return this.secondaryTable;
+ }
+
+ /**
+ * Gets the value of the consistency property.
+ *
+ * @return
+ * possible object is
+ * {@link Consistency }
+ *
+ */
+ public Consistency getConsistency() {
+ return consistency;
+ }
+
+ /**
+ * Sets the value of the consistency property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Consistency }
+ *
+ */
+ public void setConsistency(Consistency value) {
+ this.consistency = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FetchedWith.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FetchedWith.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FetchedWith.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FetchedWith.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,80 @@
+/**
+ * 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 = {
+ "defaultOrLevelOrNamedGroupOrNone"
+})
+@XmlRootElement(name = "fetched-with")
+public class FetchedWith {
+
+ @XmlElements({
+ @XmlElement(name = "default", required = true, type = Default.class),
+ @XmlElement(name = "level", required = true, type = Level.class),
+ @XmlElement(name = "named-group", required = true, type = NamedGroup.class),
+ @XmlElement(name = "none", required = true, type = None.class)
+ })
+ protected List<Object> defaultOrLevelOrNamedGroupOrNone;
+
+ /**
+ * Gets the value of the defaultOrLevelOrNamedGroupOrNone 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 defaultOrLevelOrNamedGroupOrNone property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDefaultOrLevelOrNamedGroupOrNone().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Default }
+ * {@link Level }
+ * {@link NamedGroup }
+ * {@link None }
+ *
+ *
+ */
+ public List<Object> getDefaultOrLevelOrNamedGroupOrNone() {
+ if (defaultOrLevelOrNamedGroupOrNone == null) {
+ defaultOrLevelOrNamedGroupOrNone = new ArrayList<Object>();
+ }
+ return this.defaultOrLevelOrNamedGroupOrNone;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Finder.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Finder.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Finder.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Finder.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 = {
+ "methodName",
+ "queryParams",
+ "queryFilter",
+ "queryVariables",
+ "queryOrdering"
+})
+@XmlRootElement(name = "finder")
+public class Finder {
+
+ @XmlElement(name = "method-name", required = true)
+ protected String methodName;
+ @XmlElement(name = "query-params")
+ protected String queryParams;
+ @XmlElement(name = "query-filter")
+ protected String queryFilter;
+ @XmlElement(name = "query-variables")
+ protected String queryVariables;
+ @XmlElement(name = "query-ordering")
+ protected String queryOrdering;
+
+ /**
+ * 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 queryParams property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryParams() {
+ return queryParams;
+ }
+
+ /**
+ * Sets the value of the queryParams property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryParams(String value) {
+ this.queryParams = value;
+ }
+
+ /**
+ * Gets the value of the queryFilter property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryFilter() {
+ return queryFilter;
+ }
+
+ /**
+ * Sets the value of the queryFilter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryFilter(String value) {
+ this.queryFilter = value;
+ }
+
+ /**
+ * Gets the value of the queryVariables property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryVariables() {
+ return queryVariables;
+ }
+
+ /**
+ * Sets the value of the queryVariables property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryVariables(String value) {
+ this.queryVariables = value;
+ }
+
+ /**
+ * Gets the value of the queryOrdering property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryOrdering() {
+ return queryOrdering;
+ }
+
+ /**
+ * Sets the value of the queryOrdering property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryOrdering(String value) {
+ this.queryOrdering = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FlushAtEndOfMethod.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FlushAtEndOfMethod.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FlushAtEndOfMethod.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/FlushAtEndOfMethod.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 = "flush-at-end-of-method")
+public class FlushAtEndOfMethod {
+
+ @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/GenClasses.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GenClasses.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GenClasses.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GenClasses.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 = {
+ "remoteImpl",
+ "localImpl",
+ "remoteHomeImpl",
+ "localHomeImpl"
+})
+@XmlRootElement(name = "gen-classes")
+public class GenClasses {
+
+ @XmlElement(name = "remote-impl")
+ protected String remoteImpl;
+ @XmlElement(name = "local-impl")
+ protected String localImpl;
+ @XmlElement(name = "remote-home-impl")
+ protected String remoteHomeImpl;
+ @XmlElement(name = "local-home-impl")
+ protected String localHomeImpl;
+
+ /**
+ * Gets the value of the remoteImpl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRemoteImpl() {
+ return remoteImpl;
+ }
+
+ /**
+ * Sets the value of the remoteImpl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRemoteImpl(String value) {
+ this.remoteImpl = value;
+ }
+
+ /**
+ * Gets the value of the localImpl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocalImpl() {
+ return localImpl;
+ }
+
+ /**
+ * Sets the value of the localImpl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocalImpl(String value) {
+ this.localImpl = value;
+ }
+
+ /**
+ * Gets the value of the remoteHomeImpl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRemoteHomeImpl() {
+ return remoteHomeImpl;
+ }
+
+ /**
+ * Sets the value of the remoteHomeImpl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRemoteHomeImpl(String value) {
+ this.remoteHomeImpl = value;
+ }
+
+ /**
+ * Gets the value of the localHomeImpl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocalHomeImpl() {
+ return localHomeImpl;
+ }
+
+ /**
+ * Sets the value of the localHomeImpl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocalHomeImpl(String value) {
+ this.localHomeImpl = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GroupName.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GroupName.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GroupName.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/GroupName.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 = "group-name")
+public class GroupName {
+
+ @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/IorSecurityConfig.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.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 = {
+ "transportConfig",
+ "asContext",
+ "sasContext"
+})
+@XmlRootElement(name = "ior-security-config")
+public class IorSecurityConfig {
+
+ @XmlElement(name = "transport-config")
+ protected TransportConfig transportConfig;
+ @XmlElement(name = "as-context")
+ protected AsContext asContext;
+ @XmlElement(name = "sas-context")
+ protected SasContext sasContext;
+
+ /**
+ * Gets the value of the transportConfig property.
+ *
+ * @return
+ * possible object is
+ * {@link TransportConfig }
+ *
+ */
+ public TransportConfig getTransportConfig() {
+ return transportConfig;
+ }
+
+ /**
+ * Sets the value of the transportConfig property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TransportConfig }
+ *
+ */
+ public void setTransportConfig(TransportConfig value) {
+ this.transportConfig = value;
+ }
+
+ /**
+ * Gets the value of the asContext property.
+ *
+ * @return
+ * possible object is
+ * {@link AsContext }
+ *
+ */
+ public AsContext getAsContext() {
+ return asContext;
+ }
+
+ /**
+ * Sets the value of the asContext property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AsContext }
+ *
+ */
+ public void setAsContext(AsContext value) {
+ this.asContext = value;
+ }
+
+ /**
+ * Gets the value of the sasContext property.
+ *
+ * @return
+ * possible object is
+ * {@link SasContext }
+ *
+ */
+ public SasContext getSasContext() {
+ return sasContext;
+ }
+
+ /**
+ * Sets the value of the sasContext property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SasContext }
+ *
+ */
+ public void setSasContext(SasContext value) {
+ this.sasContext = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.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 = {
+ "methodName",
+ "methodParams"
+})
+@XmlRootElement(name = "java-method")
+public class JavaMethod {
+
+ @XmlElement(name = "method-name", required = true)
+ protected String methodName;
+ @XmlElement(name = "method-params")
+ 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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,116 @@
+/**
+ * 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 = {
+ "contextRoot",
+ "eligible",
+ "vendor"
+})
+@XmlRootElement(name = "java-web-start-access")
+public class JavaWebStartAccess {
+
+ @XmlElement(name = "context-root")
+ protected String contextRoot;
+ protected String eligible;
+ protected String vendor;
+
+ /**
+ * Gets the value of the contextRoot property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContextRoot() {
+ return contextRoot;
+ }
+
+ /**
+ * Sets the value of the contextRoot property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContextRoot(String value) {
+ this.contextRoot = value;
+ }
+
+ /**
+ * Gets the value of the eligible property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEligible() {
+ return eligible;
+ }
+
+ /**
+ * Sets the value of the eligible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEligible(String value) {
+ this.eligible = value;
+ }
+
+ /**
+ * Gets the value of the vendor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVendor() {
+ return vendor;
+ }
+
+ /**
+ * Sets the value of the vendor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVendor(String value) {
+ this.vendor = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.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 = "level")
+public class Level {
+
+ @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/LockWhenLoaded.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.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 = "lock-when-loaded")
+public class LockWhenLoaded {
+
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.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 = "lock-when-modified")
+public class LockWhenModified {
+
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,90 @@
+/**
+ * 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"
+})
+@XmlRootElement(name = "login-config")
+public class LoginConfig {
+
+ @XmlElement(name = "auth-method", required = true)
+ protected String authMethod;
+ protected String realm;
+
+ /**
+ * 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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.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 = {
+ "jndiName",
+ "defaultResourcePrincipal"
+})
+@XmlRootElement(name = "mdb-connection-factory")
+public class MdbConnectionFactory {
+
+ @XmlElement(name = "jndi-name", required = true)
+ protected String jndiName;
+ @XmlElement(name = "default-resource-principal")
+ protected DefaultResourcePrincipal defaultResourcePrincipal;
+
+ /**
+ * 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;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.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 = {
+ "resourceAdapterMid",
+ "activationConfig"
+})
+@XmlRootElement(name = "mdb-resource-adapter")
+public class MdbResourceAdapter {
+
+ @XmlElement(name = "resource-adapter-mid", required = true)
+ protected String resourceAdapterMid;
+ @XmlElement(name = "activation-config")
+ protected ActivationConfig activationConfig;
+
+ /**
+ * Gets the value of the resourceAdapterMid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResourceAdapterMid() {
+ return resourceAdapterMid;
+ }
+
+ /**
+ * Sets the value of the resourceAdapterMid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResourceAdapterMid(String value) {
+ this.resourceAdapterMid = value;
+ }
+
+ /**
+ * Gets the value of the activationConfig property.
+ *
+ * @return
+ * possible object is
+ * {@link ActivationConfig }
+ *
+ */
+ public ActivationConfig getActivationConfig() {
+ return activationConfig;
+ }
+
+ /**
+ * Sets the value of the activationConfig property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActivationConfig }
+ *
+ */
+ public void setActivationConfig(ActivationConfig value) {
+ this.activationConfig = value;
+ }
+
+}
Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,76 @@
+/**
+ * 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 = {
+ "javaMethodOrOperationName"
+})
+@XmlRootElement(name = "message")
+public class Message {
+
+ @XmlElements({
+ @XmlElement(name = "java-method", type = JavaMethod.class),
+ @XmlElement(name = "operation-name", type = OperationName.class)
+ })
+ protected List<Object> javaMethodOrOperationName;
+
+ /**
+ * Gets the value of the javaMethodOrOperationName 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 javaMethodOrOperationName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJavaMethodOrOperationName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JavaMethod }
+ * {@link OperationName }
+ *
+ *
+ */
+ public List<Object> getJavaMethodOrOperationName() {
+ if (javaMethodOrOperationName == null) {
+ javaMethodOrOperationName = new ArrayList<Object>();
+ }
+ return this.javaMethodOrOperationName;
+ }
+
+}