You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2007/11/06 20:50:23 UTC
svn commit: r592534 [6/6] -
/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsBean.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsBean.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsBean.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,518 @@
+
+package org.apache.openejb.jee.wls;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for weblogic-rdbms-bean complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="weblogic-rdbms-bean">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="data-source-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="unknown-primary-key-field" type="{http://www.bea.com/ns/weblogic/90}unknown-primary-key-field" minOccurs="0"/>
+ * <element name="table-map" type="{http://www.bea.com/ns/weblogic/90}table-map" maxOccurs="unbounded"/>
+ * <element name="field-group" type="{http://www.bea.com/ns/weblogic/90}field-group" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="relationship-caching" type="{http://www.bea.com/ns/weblogic/90}relationship-caching" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="sql-shape" type="{http://www.bea.com/ns/weblogic/90}sql-shape" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="weblogic-query" type="{http://www.bea.com/ns/weblogic/90}weblogic-query" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="delay-database-insert-until" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="use-select-for-update" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * <element name="lock-order" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="instance-lock-order" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="automatic-key-generation" type="{http://www.bea.com/ns/weblogic/90}automatic-key-generation" minOccurs="0"/>
+ * <element name="check-exists-on-method" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * <element name="cluster-invalidation-disabled" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "weblogic-rdbms-bean", propOrder = {
+ "ejbName",
+ "dataSourceJndiName",
+ "unknownPrimaryKeyField",
+ "tableMap",
+ "fieldGroup",
+ "relationshipCaching",
+ "sqlShape",
+ "weblogicQuery",
+ "delayDatabaseInsertUntil",
+ "useSelectForUpdate",
+ "lockOrder",
+ "instanceLockOrder",
+ "automaticKeyGeneration",
+ "checkExistsOnMethod",
+ "clusterInvalidationDisabled"
+})
+public class WeblogicRdbmsBean {
+
+ @XmlElement(name = "ejb-name", required = true)
+ protected String ejbName;
+ @XmlElement(name = "data-source-jndi-name", required = true)
+ protected String dataSourceJndiName;
+ @XmlElement(name = "unknown-primary-key-field")
+ protected UnknownPrimaryKeyField unknownPrimaryKeyField;
+ @XmlElement(name = "table-map", required = true)
+ protected List<TableMap> tableMap;
+ @XmlElement(name = "field-group")
+ protected List<FieldGroup> fieldGroup;
+ @XmlElement(name = "relationship-caching")
+ protected List<RelationshipCaching> relationshipCaching;
+ @XmlElement(name = "sql-shape")
+ protected List<SqlShape> sqlShape;
+ @XmlElement(name = "weblogic-query")
+ protected List<WeblogicQuery> weblogicQuery;
+ @XmlElement(name = "delay-database-insert-until")
+ protected String delayDatabaseInsertUntil;
+ @XmlElement(name = "use-select-for-update")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean useSelectForUpdate;
+ @XmlElement(name = "lock-order")
+ protected BigInteger lockOrder;
+ @XmlElement(name = "instance-lock-order")
+ protected String instanceLockOrder;
+ @XmlElement(name = "automatic-key-generation")
+ protected AutomaticKeyGeneration automaticKeyGeneration;
+ @XmlElement(name = "check-exists-on-method")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean checkExistsOnMethod;
+ @XmlElement(name = "cluster-invalidation-disabled")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean clusterInvalidationDisabled;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * 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 dataSourceJndiName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataSourceJndiName() {
+ return dataSourceJndiName;
+ }
+
+ /**
+ * Sets the value of the dataSourceJndiName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataSourceJndiName(String value) {
+ this.dataSourceJndiName = value;
+ }
+
+ /**
+ * Gets the value of the unknownPrimaryKeyField property.
+ *
+ * @return
+ * possible object is
+ * {@link UnknownPrimaryKeyField }
+ *
+ */
+ public UnknownPrimaryKeyField getUnknownPrimaryKeyField() {
+ return unknownPrimaryKeyField;
+ }
+
+ /**
+ * Sets the value of the unknownPrimaryKeyField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link UnknownPrimaryKeyField }
+ *
+ */
+ public void setUnknownPrimaryKeyField(UnknownPrimaryKeyField value) {
+ this.unknownPrimaryKeyField = value;
+ }
+
+ /**
+ * Gets the value of the tableMap 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 tableMap property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTableMap().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TableMap }
+ *
+ *
+ */
+ public List<TableMap> getTableMap() {
+ if (tableMap == null) {
+ tableMap = new ArrayList<TableMap>();
+ }
+ return this.tableMap;
+ }
+
+ /**
+ * Gets the value of the fieldGroup 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 fieldGroup property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFieldGroup().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link FieldGroup }
+ *
+ *
+ */
+ public List<FieldGroup> getFieldGroup() {
+ if (fieldGroup == null) {
+ fieldGroup = new ArrayList<FieldGroup>();
+ }
+ return this.fieldGroup;
+ }
+
+ /**
+ * Gets the value of the relationshipCaching 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 relationshipCaching property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRelationshipCaching().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RelationshipCaching }
+ *
+ *
+ */
+ public List<RelationshipCaching> getRelationshipCaching() {
+ if (relationshipCaching == null) {
+ relationshipCaching = new ArrayList<RelationshipCaching>();
+ }
+ return this.relationshipCaching;
+ }
+
+ /**
+ * Gets the value of the sqlShape 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 sqlShape property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSqlShape().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SqlShape }
+ *
+ *
+ */
+ public List<SqlShape> getSqlShape() {
+ if (sqlShape == null) {
+ sqlShape = new ArrayList<SqlShape>();
+ }
+ return this.sqlShape;
+ }
+
+ /**
+ * Gets the value of the weblogicQuery 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 weblogicQuery property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWeblogicQuery().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WeblogicQuery }
+ *
+ *
+ */
+ public List<WeblogicQuery> getWeblogicQuery() {
+ if (weblogicQuery == null) {
+ weblogicQuery = new ArrayList<WeblogicQuery>();
+ }
+ return this.weblogicQuery;
+ }
+
+ /**
+ * Gets the value of the delayDatabaseInsertUntil property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDelayDatabaseInsertUntil() {
+ return delayDatabaseInsertUntil;
+ }
+
+ /**
+ * Sets the value of the delayDatabaseInsertUntil property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDelayDatabaseInsertUntil(String value) {
+ this.delayDatabaseInsertUntil = value;
+ }
+
+ /**
+ * Gets the value of the useSelectForUpdate property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getUseSelectForUpdate() {
+ return useSelectForUpdate;
+ }
+
+ /**
+ * Sets the value of the useSelectForUpdate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUseSelectForUpdate(Boolean value) {
+ this.useSelectForUpdate = value;
+ }
+
+ /**
+ * Gets the value of the lockOrder property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getLockOrder() {
+ return lockOrder;
+ }
+
+ /**
+ * Sets the value of the lockOrder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setLockOrder(BigInteger value) {
+ this.lockOrder = value;
+ }
+
+ /**
+ * Gets the value of the instanceLockOrder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceLockOrder() {
+ return instanceLockOrder;
+ }
+
+ /**
+ * Sets the value of the instanceLockOrder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceLockOrder(String value) {
+ this.instanceLockOrder = value;
+ }
+
+ /**
+ * Gets the value of the automaticKeyGeneration property.
+ *
+ * @return
+ * possible object is
+ * {@link AutomaticKeyGeneration }
+ *
+ */
+ public AutomaticKeyGeneration getAutomaticKeyGeneration() {
+ return automaticKeyGeneration;
+ }
+
+ /**
+ * Sets the value of the automaticKeyGeneration property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AutomaticKeyGeneration }
+ *
+ */
+ public void setAutomaticKeyGeneration(AutomaticKeyGeneration value) {
+ this.automaticKeyGeneration = value;
+ }
+
+ /**
+ * Gets the value of the checkExistsOnMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getCheckExistsOnMethod() {
+ return checkExistsOnMethod;
+ }
+
+ /**
+ * Sets the value of the checkExistsOnMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCheckExistsOnMethod(Boolean value) {
+ this.checkExistsOnMethod = value;
+ }
+
+ /**
+ * Gets the value of the clusterInvalidationDisabled property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getClusterInvalidationDisabled() {
+ return clusterInvalidationDisabled;
+ }
+
+ /**
+ * Sets the value of the clusterInvalidationDisabled property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setClusterInvalidationDisabled(Boolean value) {
+ this.clusterInvalidationDisabled = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsJar.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsJar.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsJar.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsJar.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,332 @@
+
+package org.apache.openejb.jee.wls;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for weblogic-rdbms-jar complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="weblogic-rdbms-jar">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="weblogic-rdbms-bean" type="{http://www.bea.com/ns/weblogic/90}weblogic-rdbms-bean" maxOccurs="unbounded"/>
+ * <element name="weblogic-rdbms-relation" type="{http://www.bea.com/ns/weblogic/90}weblogic-rdbms-relation" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="order-database-operations" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * <element name="enable-batch-operations" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * <element name="create-default-dbms-tables" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="validate-db-schema-with" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="database-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="default-dbms-tables-ddl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="compatibility" type="{http://www.bea.com/ns/weblogic/90}compatibility" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "weblogic-rdbms-jar", propOrder = {
+ "weblogicRdbmsBean",
+ "weblogicRdbmsRelation",
+ "orderDatabaseOperations",
+ "enableBatchOperations",
+ "createDefaultDbmsTables",
+ "validateDbSchemaWith",
+ "databaseType",
+ "defaultDbmsTablesDdl",
+ "compatibility"
+})
+public class WeblogicRdbmsJar {
+
+ @XmlElement(name = "weblogic-rdbms-bean", required = true)
+ protected List<WeblogicRdbmsBean> weblogicRdbmsBean;
+ @XmlElement(name = "weblogic-rdbms-relation")
+ protected List<WeblogicRdbmsRelation> weblogicRdbmsRelation;
+ @XmlElement(name = "order-database-operations")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean orderDatabaseOperations;
+ @XmlElement(name = "enable-batch-operations")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean enableBatchOperations;
+ @XmlElement(name = "create-default-dbms-tables")
+ protected String createDefaultDbmsTables;
+ @XmlElement(name = "validate-db-schema-with")
+ protected String validateDbSchemaWith;
+ @XmlElement(name = "database-type")
+ protected String databaseType;
+ @XmlElement(name = "default-dbms-tables-ddl")
+ protected String defaultDbmsTablesDdl;
+ protected Compatibility compatibility;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * Gets the value of the weblogicRdbmsBean 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 weblogicRdbmsBean property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWeblogicRdbmsBean().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WeblogicRdbmsBean }
+ *
+ *
+ */
+ public List<WeblogicRdbmsBean> getWeblogicRdbmsBean() {
+ if (weblogicRdbmsBean == null) {
+ weblogicRdbmsBean = new ArrayList<WeblogicRdbmsBean>();
+ }
+ return this.weblogicRdbmsBean;
+ }
+
+ /**
+ * Gets the value of the weblogicRdbmsRelation 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 weblogicRdbmsRelation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWeblogicRdbmsRelation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WeblogicRdbmsRelation }
+ *
+ *
+ */
+ public List<WeblogicRdbmsRelation> getWeblogicRdbmsRelation() {
+ if (weblogicRdbmsRelation == null) {
+ weblogicRdbmsRelation = new ArrayList<WeblogicRdbmsRelation>();
+ }
+ return this.weblogicRdbmsRelation;
+ }
+
+ /**
+ * Gets the value of the orderDatabaseOperations property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getOrderDatabaseOperations() {
+ return orderDatabaseOperations;
+ }
+
+ /**
+ * Sets the value of the orderDatabaseOperations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOrderDatabaseOperations(Boolean value) {
+ this.orderDatabaseOperations = value;
+ }
+
+ /**
+ * Gets the value of the enableBatchOperations property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getEnableBatchOperations() {
+ return enableBatchOperations;
+ }
+
+ /**
+ * Sets the value of the enableBatchOperations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEnableBatchOperations(Boolean value) {
+ this.enableBatchOperations = value;
+ }
+
+ /**
+ * Gets the value of the createDefaultDbmsTables property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCreateDefaultDbmsTables() {
+ return createDefaultDbmsTables;
+ }
+
+ /**
+ * Sets the value of the createDefaultDbmsTables property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCreateDefaultDbmsTables(String value) {
+ this.createDefaultDbmsTables = value;
+ }
+
+ /**
+ * Gets the value of the validateDbSchemaWith property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValidateDbSchemaWith() {
+ return validateDbSchemaWith;
+ }
+
+ /**
+ * Sets the value of the validateDbSchemaWith property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValidateDbSchemaWith(String value) {
+ this.validateDbSchemaWith = value;
+ }
+
+ /**
+ * Gets the value of the databaseType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDatabaseType() {
+ return databaseType;
+ }
+
+ /**
+ * Sets the value of the databaseType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDatabaseType(String value) {
+ this.databaseType = value;
+ }
+
+ /**
+ * Gets the value of the defaultDbmsTablesDdl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultDbmsTablesDdl() {
+ return defaultDbmsTablesDdl;
+ }
+
+ /**
+ * Sets the value of the defaultDbmsTablesDdl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultDbmsTablesDdl(String value) {
+ this.defaultDbmsTablesDdl = value;
+ }
+
+ /**
+ * Gets the value of the compatibility property.
+ *
+ * @return
+ * possible object is
+ * {@link Compatibility }
+ *
+ */
+ public Compatibility getCompatibility() {
+ return compatibility;
+ }
+
+ /**
+ * Sets the value of the compatibility property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Compatibility }
+ *
+ */
+ public void setCompatibility(Compatibility value) {
+ this.compatibility = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsRelation.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsRelation.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsRelation.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRdbmsRelation.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,123 @@
+
+package org.apache.openejb.jee.wls;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for weblogic-rdbms-relation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="weblogic-rdbms-relation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="relation-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="weblogic-relationship-role" type="{http://www.bea.com/ns/weblogic/90}weblogic-relationship-role"/>
+ * <element name="weblogic-relationship-role" type="{http://www.bea.com/ns/weblogic/90}weblogic-relationship-role" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "weblogic-rdbms-relation", propOrder = {
+ "content"
+})
+public class WeblogicRdbmsRelation {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "table-name", namespace = "http://www.bea.com/ns/weblogic/90", type = JAXBElement.class),
+ @XmlElementRef(name = "weblogic-relationship-role", namespace = "http://www.bea.com/ns/weblogic/90", type = JAXBElement.class),
+ @XmlElementRef(name = "relation-name", namespace = "http://www.bea.com/ns/weblogic/90", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> content;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * Gets the rest of the content model.
+ *
+ * <p>
+ * You are getting this "catch-all" property because of the following reason:
+ * The field name "WeblogicRelationshipRole" is used by two different parts of a schema. See:
+ * line 761 of file:/Users/dblevins/work/openejb3/container/openejb-jee/src/main/resources/META-INF/schema/weblogic.xsd
+ * line 760 of file:/Users/dblevins/work/openejb3/container/openejb-jee/src/main/resources/META-INF/schema/weblogic.xsd
+ * <p>
+ * To get rid of this property, apply a property customization to one
+ * of both of the following declarations to change their names:
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link WeblogicRelationshipRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getContent() {
+ if (content == null) {
+ content = new ArrayList<JAXBElement<?>>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRelationshipRole.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRelationshipRole.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRelationshipRole.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WeblogicRelationshipRole.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,208 @@
+
+package org.apache.openejb.jee.wls;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for weblogic-relationship-role complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="weblogic-relationship-role">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="relationship-role-map" type="{http://www.bea.com/ns/weblogic/90}relationship-role-map" minOccurs="0"/>
+ * <element name="db-cascade-delete" type="{http://www.bea.com/ns/weblogic/90}empty" minOccurs="0"/>
+ * <element name="enable-query-caching" type="{http://www.bea.com/ns/weblogic/90}true-false" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "weblogic-relationship-role", propOrder = {
+ "relationshipRoleName",
+ "groupName",
+ "relationshipRoleMap",
+ "dbCascadeDelete",
+ "enableQueryCaching"
+})
+public class WeblogicRelationshipRole {
+
+ @XmlElement(name = "relationship-role-name", required = true)
+ protected String relationshipRoleName;
+ @XmlElement(name = "group-name")
+ protected String groupName;
+ @XmlElement(name = "relationship-role-map")
+ protected RelationshipRoleMap relationshipRoleMap;
+ @XmlElement(name = "db-cascade-delete")
+ protected Empty dbCascadeDelete;
+ @XmlElement(name = "enable-query-caching")
+ @XmlJavaTypeAdapter(TrueFalseAdapter.class)
+ protected Boolean enableQueryCaching;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * Gets the value of the relationshipRoleName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRelationshipRoleName() {
+ return relationshipRoleName;
+ }
+
+ /**
+ * Sets the value of the relationshipRoleName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRelationshipRoleName(String value) {
+ this.relationshipRoleName = value;
+ }
+
+ /**
+ * Gets the value of the groupName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * Sets the value of the groupName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupName(String value) {
+ this.groupName = value;
+ }
+
+ /**
+ * Gets the value of the relationshipRoleMap property.
+ *
+ * @return
+ * possible object is
+ * {@link RelationshipRoleMap }
+ *
+ */
+ public RelationshipRoleMap getRelationshipRoleMap() {
+ return relationshipRoleMap;
+ }
+
+ /**
+ * Sets the value of the relationshipRoleMap property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RelationshipRoleMap }
+ *
+ */
+ public void setRelationshipRoleMap(RelationshipRoleMap value) {
+ this.relationshipRoleMap = value;
+ }
+
+ /**
+ * Gets the value of the dbCascadeDelete property.
+ *
+ * @return
+ * possible object is
+ * {@link Empty }
+ *
+ */
+ public Empty getDbCascadeDelete() {
+ return dbCascadeDelete;
+ }
+
+ /**
+ * Sets the value of the dbCascadeDelete property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Empty }
+ *
+ */
+ public void setDbCascadeDelete(Empty value) {
+ this.dbCascadeDelete = value;
+ }
+
+ /**
+ * Gets the value of the enableQueryCaching property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getEnableQueryCaching() {
+ return enableQueryCaching;
+ }
+
+ /**
+ * Sets the value of the enableQueryCaching property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEnableQueryCaching(Boolean value) {
+ this.enableQueryCaching = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManager.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManager.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManager.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManager.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,440 @@
+
+package org.apache.openejb.jee.wls;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for work-manager complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="work-manager">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <choice minOccurs="0">
+ * <element name="response-time-request-class" type="{http://www.bea.com/ns/weblogic/90}response-time-request-class"/>
+ * <element name="fair-share-request-class" type="{http://www.bea.com/ns/weblogic/90}fair-share-request-class"/>
+ * <element name="context-request-class" type="{http://www.bea.com/ns/weblogic/90}context-request-class"/>
+ * <element name="request-class-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice minOccurs="0">
+ * <element name="min-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}min-threads-constraint"/>
+ * <element name="min-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice minOccurs="0">
+ * <element name="max-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}max-threads-constraint"/>
+ * <element name="max-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice minOccurs="0">
+ * <element name="capacity" type="{http://www.bea.com/ns/weblogic/90}capacity"/>
+ * <element name="capacity-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice minOccurs="0">
+ * <element name="work-manager-shutdown-trigger" type="{http://www.bea.com/ns/weblogic/90}work-manager-shutdown-trigger"/>
+ * <element name="ignore-stuck-threads" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "work-manager", propOrder = {
+ "name",
+ "responseTimeRequestClass",
+ "fairShareRequestClass",
+ "contextRequestClass",
+ "requestClassName",
+ "minThreadsConstraint",
+ "minThreadsConstraintName",
+ "maxThreadsConstraint",
+ "maxThreadsConstraintName",
+ "capacity",
+ "capacityName",
+ "workManagerShutdownTrigger",
+ "ignoreStuckThreads"
+})
+public class WorkManager {
+
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(name = "response-time-request-class")
+ protected ResponseTimeRequestClass responseTimeRequestClass;
+ @XmlElement(name = "fair-share-request-class")
+ protected FairShareRequestClass fairShareRequestClass;
+ @XmlElement(name = "context-request-class")
+ protected ContextRequestClass contextRequestClass;
+ @XmlElement(name = "request-class-name")
+ protected String requestClassName;
+ @XmlElement(name = "min-threads-constraint")
+ protected MinThreadsConstraint minThreadsConstraint;
+ @XmlElement(name = "min-threads-constraint-name")
+ protected String minThreadsConstraintName;
+ @XmlElement(name = "max-threads-constraint")
+ protected MaxThreadsConstraint maxThreadsConstraint;
+ @XmlElement(name = "max-threads-constraint-name")
+ protected String maxThreadsConstraintName;
+ protected Capacity capacity;
+ @XmlElement(name = "capacity-name")
+ protected String capacityName;
+ @XmlElement(name = "work-manager-shutdown-trigger")
+ protected WorkManagerShutdownTrigger workManagerShutdownTrigger;
+ @XmlElement(name = "ignore-stuck-threads")
+ protected Boolean ignoreStuckThreads;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * 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 responseTimeRequestClass property.
+ *
+ * @return
+ * possible object is
+ * {@link ResponseTimeRequestClass }
+ *
+ */
+ public ResponseTimeRequestClass getResponseTimeRequestClass() {
+ return responseTimeRequestClass;
+ }
+
+ /**
+ * Sets the value of the responseTimeRequestClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResponseTimeRequestClass }
+ *
+ */
+ public void setResponseTimeRequestClass(ResponseTimeRequestClass value) {
+ this.responseTimeRequestClass = value;
+ }
+
+ /**
+ * Gets the value of the fairShareRequestClass property.
+ *
+ * @return
+ * possible object is
+ * {@link FairShareRequestClass }
+ *
+ */
+ public FairShareRequestClass getFairShareRequestClass() {
+ return fairShareRequestClass;
+ }
+
+ /**
+ * Sets the value of the fairShareRequestClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FairShareRequestClass }
+ *
+ */
+ public void setFairShareRequestClass(FairShareRequestClass value) {
+ this.fairShareRequestClass = value;
+ }
+
+ /**
+ * Gets the value of the contextRequestClass property.
+ *
+ * @return
+ * possible object is
+ * {@link ContextRequestClass }
+ *
+ */
+ public ContextRequestClass getContextRequestClass() {
+ return contextRequestClass;
+ }
+
+ /**
+ * Sets the value of the contextRequestClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ContextRequestClass }
+ *
+ */
+ public void setContextRequestClass(ContextRequestClass value) {
+ this.contextRequestClass = value;
+ }
+
+ /**
+ * Gets the value of the requestClassName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequestClassName() {
+ return requestClassName;
+ }
+
+ /**
+ * Sets the value of the requestClassName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequestClassName(String value) {
+ this.requestClassName = value;
+ }
+
+ /**
+ * Gets the value of the minThreadsConstraint property.
+ *
+ * @return
+ * possible object is
+ * {@link MinThreadsConstraint }
+ *
+ */
+ public MinThreadsConstraint getMinThreadsConstraint() {
+ return minThreadsConstraint;
+ }
+
+ /**
+ * Sets the value of the minThreadsConstraint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MinThreadsConstraint }
+ *
+ */
+ public void setMinThreadsConstraint(MinThreadsConstraint value) {
+ this.minThreadsConstraint = value;
+ }
+
+ /**
+ * Gets the value of the minThreadsConstraintName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMinThreadsConstraintName() {
+ return minThreadsConstraintName;
+ }
+
+ /**
+ * Sets the value of the minThreadsConstraintName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMinThreadsConstraintName(String value) {
+ this.minThreadsConstraintName = value;
+ }
+
+ /**
+ * Gets the value of the maxThreadsConstraint property.
+ *
+ * @return
+ * possible object is
+ * {@link MaxThreadsConstraint }
+ *
+ */
+ public MaxThreadsConstraint getMaxThreadsConstraint() {
+ return maxThreadsConstraint;
+ }
+
+ /**
+ * Sets the value of the maxThreadsConstraint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MaxThreadsConstraint }
+ *
+ */
+ public void setMaxThreadsConstraint(MaxThreadsConstraint value) {
+ this.maxThreadsConstraint = value;
+ }
+
+ /**
+ * Gets the value of the maxThreadsConstraintName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMaxThreadsConstraintName() {
+ return maxThreadsConstraintName;
+ }
+
+ /**
+ * Sets the value of the maxThreadsConstraintName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMaxThreadsConstraintName(String value) {
+ this.maxThreadsConstraintName = value;
+ }
+
+ /**
+ * Gets the value of the capacity property.
+ *
+ * @return
+ * possible object is
+ * {@link Capacity }
+ *
+ */
+ public Capacity getCapacity() {
+ return capacity;
+ }
+
+ /**
+ * Sets the value of the capacity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Capacity }
+ *
+ */
+ public void setCapacity(Capacity value) {
+ this.capacity = value;
+ }
+
+ /**
+ * Gets the value of the capacityName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCapacityName() {
+ return capacityName;
+ }
+
+ /**
+ * Sets the value of the capacityName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCapacityName(String value) {
+ this.capacityName = value;
+ }
+
+ /**
+ * Gets the value of the workManagerShutdownTrigger property.
+ *
+ * @return
+ * possible object is
+ * {@link WorkManagerShutdownTrigger }
+ *
+ */
+ public WorkManagerShutdownTrigger getWorkManagerShutdownTrigger() {
+ return workManagerShutdownTrigger;
+ }
+
+ /**
+ * Sets the value of the workManagerShutdownTrigger property.
+ *
+ * @param value
+ * allowed object is
+ * {@link WorkManagerShutdownTrigger }
+ *
+ */
+ public void setWorkManagerShutdownTrigger(WorkManagerShutdownTrigger value) {
+ this.workManagerShutdownTrigger = value;
+ }
+
+ /**
+ * Gets the value of the ignoreStuckThreads property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIgnoreStuckThreads() {
+ return ignoreStuckThreads;
+ }
+
+ /**
+ * Sets the value of the ignoreStuckThreads property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIgnoreStuckThreads(Boolean value) {
+ this.ignoreStuckThreads = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManagerShutdownTrigger.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManagerShutdownTrigger.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManagerShutdownTrigger.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/WorkManagerShutdownTrigger.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,124 @@
+
+package org.apache.openejb.jee.wls;
+
+import java.math.BigInteger;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for work-manager-shutdown-trigger complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="work-manager-shutdown-trigger">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="max-stuck-thread-time" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="stuck-thread-count" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "work-manager-shutdown-trigger", propOrder = {
+ "maxStuckThreadTime",
+ "stuckThreadCount"
+})
+public class WorkManagerShutdownTrigger {
+
+ @XmlElement(name = "max-stuck-thread-time")
+ protected BigInteger maxStuckThreadTime;
+ @XmlElement(name = "stuck-thread-count", required = true)
+ protected BigInteger stuckThreadCount;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * Gets the value of the maxStuckThreadTime property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getMaxStuckThreadTime() {
+ return maxStuckThreadTime;
+ }
+
+ /**
+ * Sets the value of the maxStuckThreadTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setMaxStuckThreadTime(BigInteger value) {
+ this.maxStuckThreadTime = value;
+ }
+
+ /**
+ * Gets the value of the stuckThreadCount property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getStuckThreadCount() {
+ return stuckThreadCount;
+ }
+
+ /**
+ * Sets the value of the stuckThreadCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setStuckThreadCount(BigInteger value) {
+ this.stuckThreadCount = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/package-info.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/package-info.java?rev=592534&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/package-info.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/wls/package-info.java Tue Nov 6 11:50:16 2007
@@ -0,0 +1,2 @@
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.bea.com/ns/weblogic/90", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.openejb.jee.wls;