All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openjax.dbcp_1_1.Dbcp Maven / Gradle / Ivy

Go to download

Wrapper of the "Apache Commons DBCP" library that provides a simple API to describe and initialize a JDBC Database Connection Pool.

There is a newer version: 1.3.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.05.23 at 04:36:24 AM UTC 
//


package org.openjax.dbcp_1_1;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for dbcp complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="dbcp">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="jdbc">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *                   <element name="driverClassName" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}qualifiedIdentifier"/>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="default" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="catalog" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" minOccurs="0"/>
 *                   <element name="autoCommit" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="queryTimeout" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveInt" minOccurs="0"/>
 *                   <element name="transactionIsolation" minOccurs="0">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *                         <enumeration value="NONE"/>
 *                         <enumeration value="READ_UNCOMMITTED"/>
 *                         <enumeration value="READ_COMMITTED"/>
 *                         <enumeration value="REPEATABLE_READ"/>
 *                         <enumeration value="SERIALIZABLE"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="connection" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="properties" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence maxOccurs="unbounded">
 *                             <element name="property">
 *                               <complexType>
 *                                 <complexContent>
 *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     <attribute name="name" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
 *                                     <attribute name="value" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
 *                                   </restriction>
 *                                 </complexContent>
 *                               </complexType>
 *                             </element>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="initSqls" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence maxOccurs="unbounded">
 *                             <element name="initSql" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="size" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="initialSize" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt" minOccurs="0"/>
 *                   <element name="maxTotal" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
 *                   <element name="maxIdle" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
 *                   <element name="minIdle" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt" minOccurs="0"/>
 *                   <element name="maxOpenPreparedStatements" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="pool" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="queue" minOccurs="0">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         <enumeration value="lifo"/>
 *                         <enumeration value="fifo"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="cacheState" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="maxWait" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
 *                   <element name="maxConnectionLifetime" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
 *                   <element name="autoCommitOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="rollbackOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="removeAbandoned" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="on" use="required">
 *                             <simpleType>
 *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                                 <enumeration value="borrow"/>
 *                                 <enumeration value="maintenance"/>
 *                               </restriction>
 *                             </simpleType>
 *                           </attribute>
 *                           <attribute name="timeout" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveInt" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="abandonedUsageTracking" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="allowAccessToUnderlyingConnection" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="eviction" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <all>
 *                             <element name="timeBetweenRuns" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveLong"/>
 *                             <element name="numTestsPerRun" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt"/>
 *                             <element name="minIdleTime" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeLong" minOccurs="0"/>
 *                             <element name="softMinIdleTime" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
 *                             <element name="policyClassName" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}qualifiedIdentifier" minOccurs="0"/>
 *                           </all>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="validation" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="query" minOccurs="0">
 *                     <simpleType>
 *                       <restriction base="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty">
 *                         <pattern value="SELECT.*"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="testOnBorrow" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="testOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="testWhileIdle" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   <element name="fastFail" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <all>
 *                             <element name="disconnectionSqlCodes" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" minOccurs="0"/>
 *                           </all>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="logging" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="level">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *                         <enumeration value="ERROR"/>
 *                         <enumeration value="WARN"/>
 *                         <enumeration value="INFO"/>
 *                         <enumeration value="DEBUG"/>
 *                         <enumeration value="TRACE"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="logExpiredConnections" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                   <element name="logAbandoned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </all>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dbcp", propOrder = { }) @java.lang.SuppressWarnings("all") public class Dbcp { @XmlElement(required = true) protected Dbcp.Jdbc jdbc; @XmlElement(name = "default") protected Dbcp.Default _default; protected Dbcp.Connection connection; protected Dbcp.Size size; protected Dbcp.Pool pool; protected Dbcp.Validation validation; protected Dbcp.Logging logging; @XmlAttribute(name = "name", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NCName") protected String name; /** * Gets the value of the jdbc property. * * @return * possible object is * {@link Dbcp.Jdbc } * */ public Dbcp.Jdbc getJdbc() { return jdbc; } /** * Sets the value of the jdbc property. * * @param value * allowed object is * {@link Dbcp.Jdbc } * */ public void setJdbc(Dbcp.Jdbc value) { this.jdbc = value; } /** * Gets the value of the default property. * * @return * possible object is * {@link Dbcp.Default } * */ public Dbcp.Default getDefault() { return _default; } /** * Sets the value of the default property. * * @param value * allowed object is * {@link Dbcp.Default } * */ public void setDefault(Dbcp.Default value) { this._default = value; } /** * Gets the value of the connection property. * * @return * possible object is * {@link Dbcp.Connection } * */ public Dbcp.Connection getConnection() { return connection; } /** * Sets the value of the connection property. * * @param value * allowed object is * {@link Dbcp.Connection } * */ public void setConnection(Dbcp.Connection value) { this.connection = value; } /** * Gets the value of the size property. * * @return * possible object is * {@link Dbcp.Size } * */ public Dbcp.Size getSize() { return size; } /** * Sets the value of the size property. * * @param value * allowed object is * {@link Dbcp.Size } * */ public void setSize(Dbcp.Size value) { this.size = value; } /** * Gets the value of the pool property. * * @return * possible object is * {@link Dbcp.Pool } * */ public Dbcp.Pool getPool() { return pool; } /** * Sets the value of the pool property. * * @param value * allowed object is * {@link Dbcp.Pool } * */ public void setPool(Dbcp.Pool value) { this.pool = value; } /** * Gets the value of the validation property. * * @return * possible object is * {@link Dbcp.Validation } * */ public Dbcp.Validation getValidation() { return validation; } /** * Sets the value of the validation property. * * @param value * allowed object is * {@link Dbcp.Validation } * */ public void setValidation(Dbcp.Validation value) { this.validation = value; } /** * Gets the value of the logging property. * * @return * possible object is * {@link Dbcp.Logging } * */ public Dbcp.Logging getLogging() { return logging; } /** * Sets the value of the logging property. * * @param value * allowed object is * {@link Dbcp.Logging } * */ public void setLogging(Dbcp.Logging value) { this.logging = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="properties" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence maxOccurs="unbounded">
     *                   <element name="property">
     *                     <complexType>
     *                       <complexContent>
     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                           <attribute name="name" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
     *                           <attribute name="value" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
     *                         </restriction>
     *                       </complexContent>
     *                     </complexType>
     *                   </element>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="initSqls" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence maxOccurs="unbounded">
     *                   <element name="initSql" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty"/>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Connection { protected Dbcp.Connection.Properties properties; protected Dbcp.Connection.InitSqls initSqls; /** * Gets the value of the properties property. * * @return * possible object is * {@link Dbcp.Connection.Properties } * */ public Dbcp.Connection.Properties getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link Dbcp.Connection.Properties } * */ public void setProperties(Dbcp.Connection.Properties value) { this.properties = value; } /** * Gets the value of the initSqls property. * * @return * possible object is * {@link Dbcp.Connection.InitSqls } * */ public Dbcp.Connection.InitSqls getInitSqls() { return initSqls; } /** * Sets the value of the initSqls property. * * @param value * allowed object is * {@link Dbcp.Connection.InitSqls } * */ public void setInitSqls(Dbcp.Connection.InitSqls value) { this.initSqls = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <sequence maxOccurs="unbounded">
         *         <element name="initSql" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty"/>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "initSql" }) public static class InitSqls { @XmlElement(required = true) protected List initSql; /** * Gets the value of the initSql property. * *

* 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 set method for the initSql property. * *

* For example, to add a new item, do as follows: *

             *    getInitSql().add(newItem);
             * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getInitSql() { if (initSql == null) { initSql = new ArrayList(); } return this.initSql; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <sequence maxOccurs="unbounded">
         *         <element name="property">
         *           <complexType>
         *             <complexContent>
         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                 <attribute name="name" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
         *                 <attribute name="value" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
         *               </restriction>
         *             </complexContent>
         *           </complexType>
         *         </element>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "property" }) public static class Properties { @XmlElement(required = true) protected List property; /** * Gets the value of the property property. * *

* 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 set method for the property property. * *

* For example, to add a new item, do as follows: *

             *    getProperty().add(newItem);
             * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Dbcp.Connection.Properties.Property } * * */ public List getProperty() { if (property == null) { property = new ArrayList(); } return this.property; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

             * <complexType>
             *   <complexContent>
             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             *       <attribute name="name" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
             *       <attribute name="value" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" />
             *     </restriction>
             *   </complexContent>
             * </complexType>
             * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Property { @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "value", required = true) protected String value; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="catalog" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" minOccurs="0"/>
     *         <element name="autoCommit" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="queryTimeout" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveInt" minOccurs="0"/>
     *         <element name="transactionIsolation" minOccurs="0">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
     *               <enumeration value="NONE"/>
     *               <enumeration value="READ_UNCOMMITTED"/>
     *               <enumeration value="READ_COMMITTED"/>
     *               <enumeration value="REPEATABLE_READ"/>
     *               <enumeration value="SERIALIZABLE"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Default { protected String catalog; protected Boolean autoCommit; protected Boolean readOnly; protected Integer queryTimeout; @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String transactionIsolation; /** * Gets the value of the catalog property. * * @return * possible object is * {@link String } * */ public String getCatalog() { return catalog; } /** * Sets the value of the catalog property. * * @param value * allowed object is * {@link String } * */ public void setCatalog(String value) { this.catalog = value; } /** * Gets the value of the autoCommit property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAutoCommit() { return autoCommit; } /** * Sets the value of the autoCommit property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoCommit(Boolean value) { this.autoCommit = value; } /** * Gets the value of the readOnly property. * * @return * possible object is * {@link Boolean } * */ public Boolean getReadOnly() { return readOnly; } /** * Sets the value of the readOnly property. * * @param value * allowed object is * {@link Boolean } * */ public void setReadOnly(Boolean value) { this.readOnly = value; } /** * Gets the value of the queryTimeout property. * * @return * possible object is * {@link Integer } * */ public Integer getQueryTimeout() { return queryTimeout; } /** * Sets the value of the queryTimeout property. * * @param value * allowed object is * {@link Integer } * */ public void setQueryTimeout(Integer value) { this.queryTimeout = value; } /** * Gets the value of the transactionIsolation property. * * @return * possible object is * {@link String } * */ public String getTransactionIsolation() { return transactionIsolation; } /** * Sets the value of the transactionIsolation property. * * @param value * allowed object is * {@link String } * */ public void setTransactionIsolation(String value) { this.transactionIsolation = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
     *         <element name="driverClassName" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}qualifiedIdentifier"/>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Jdbc { @XmlElement(required = true) @XmlSchemaType(name = "anyURI") protected String url; @XmlElement(required = true) protected String driverClassName; /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setUrl(String value) { this.url = value; } /** * Gets the value of the driverClassName property. * * @return * possible object is * {@link String } * */ public String getDriverClassName() { return driverClassName; } /** * Sets the value of the driverClassName property. * * @param value * allowed object is * {@link String } * */ public void setDriverClassName(String value) { this.driverClassName = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="level">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     *               <enumeration value="ERROR"/>
     *               <enumeration value="WARN"/>
     *               <enumeration value="INFO"/>
     *               <enumeration value="DEBUG"/>
     *               <enumeration value="TRACE"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="logExpiredConnections" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *         <element name="logAbandoned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Logging { @XmlElement(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String level; protected boolean logExpiredConnections; protected boolean logAbandoned; /** * Gets the value of the level property. * * @return * possible object is * {@link String } * */ public String getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link String } * */ public void setLevel(String value) { this.level = value; } /** * Gets the value of the logExpiredConnections property. * */ public boolean isLogExpiredConnections() { return logExpiredConnections; } /** * Sets the value of the logExpiredConnections property. * */ public void setLogExpiredConnections(boolean value) { this.logExpiredConnections = value; } /** * Gets the value of the logAbandoned property. * */ public boolean isLogAbandoned() { return logAbandoned; } /** * Sets the value of the logAbandoned property. * */ public void setLogAbandoned(boolean value) { this.logAbandoned = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="queue" minOccurs="0">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               <enumeration value="lifo"/>
     *               <enumeration value="fifo"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="cacheState" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="maxWait" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
     *         <element name="maxConnectionLifetime" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
     *         <element name="autoCommitOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="rollbackOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="removeAbandoned" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="on" use="required">
     *                   <simpleType>
     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *                       <enumeration value="borrow"/>
     *                       <enumeration value="maintenance"/>
     *                     </restriction>
     *                   </simpleType>
     *                 </attribute>
     *                 <attribute name="timeout" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveInt" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="abandonedUsageTracking" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="allowAccessToUnderlyingConnection" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="eviction" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <all>
     *                   <element name="timeBetweenRuns" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveLong"/>
     *                   <element name="numTestsPerRun" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt"/>
     *                   <element name="minIdleTime" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeLong" minOccurs="0"/>
     *                   <element name="softMinIdleTime" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
     *                   <element name="policyClassName" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}qualifiedIdentifier" minOccurs="0"/>
     *                 </all>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Pool { protected String queue; protected Boolean cacheState; protected String maxWait; protected String maxConnectionLifetime; protected Boolean autoCommitOnReturn; protected Boolean rollbackOnReturn; protected Dbcp.Pool.RemoveAbandoned removeAbandoned; protected Boolean abandonedUsageTracking; protected Boolean allowAccessToUnderlyingConnection; protected Dbcp.Pool.Eviction eviction; /** * Gets the value of the queue property. * * @return * possible object is * {@link String } * */ public String getQueue() { return queue; } /** * Sets the value of the queue property. * * @param value * allowed object is * {@link String } * */ public void setQueue(String value) { this.queue = value; } /** * Gets the value of the cacheState property. * * @return * possible object is * {@link Boolean } * */ public Boolean getCacheState() { return cacheState; } /** * Sets the value of the cacheState property. * * @param value * allowed object is * {@link Boolean } * */ public void setCacheState(Boolean value) { this.cacheState = value; } /** * Gets the value of the maxWait property. * * @return * possible object is * {@link String } * */ public String getMaxWait() { return maxWait; } /** * Sets the value of the maxWait property. * * @param value * allowed object is * {@link String } * */ public void setMaxWait(String value) { this.maxWait = value; } /** * Gets the value of the maxConnectionLifetime property. * * @return * possible object is * {@link String } * */ public String getMaxConnectionLifetime() { return maxConnectionLifetime; } /** * Sets the value of the maxConnectionLifetime property. * * @param value * allowed object is * {@link String } * */ public void setMaxConnectionLifetime(String value) { this.maxConnectionLifetime = value; } /** * Gets the value of the autoCommitOnReturn property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAutoCommitOnReturn() { return autoCommitOnReturn; } /** * Sets the value of the autoCommitOnReturn property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoCommitOnReturn(Boolean value) { this.autoCommitOnReturn = value; } /** * Gets the value of the rollbackOnReturn property. * * @return * possible object is * {@link Boolean } * */ public Boolean getRollbackOnReturn() { return rollbackOnReturn; } /** * Sets the value of the rollbackOnReturn property. * * @param value * allowed object is * {@link Boolean } * */ public void setRollbackOnReturn(Boolean value) { this.rollbackOnReturn = value; } /** * Gets the value of the removeAbandoned property. * * @return * possible object is * {@link Dbcp.Pool.RemoveAbandoned } * */ public Dbcp.Pool.RemoveAbandoned getRemoveAbandoned() { return removeAbandoned; } /** * Sets the value of the removeAbandoned property. * * @param value * allowed object is * {@link Dbcp.Pool.RemoveAbandoned } * */ public void setRemoveAbandoned(Dbcp.Pool.RemoveAbandoned value) { this.removeAbandoned = value; } /** * Gets the value of the abandonedUsageTracking property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAbandonedUsageTracking() { return abandonedUsageTracking; } /** * Sets the value of the abandonedUsageTracking property. * * @param value * allowed object is * {@link Boolean } * */ public void setAbandonedUsageTracking(Boolean value) { this.abandonedUsageTracking = value; } /** * Gets the value of the allowAccessToUnderlyingConnection property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAllowAccessToUnderlyingConnection() { return allowAccessToUnderlyingConnection; } /** * Sets the value of the allowAccessToUnderlyingConnection property. * * @param value * allowed object is * {@link Boolean } * */ public void setAllowAccessToUnderlyingConnection(Boolean value) { this.allowAccessToUnderlyingConnection = value; } /** * Gets the value of the eviction property. * * @return * possible object is * {@link Dbcp.Pool.Eviction } * */ public Dbcp.Pool.Eviction getEviction() { return eviction; } /** * Sets the value of the eviction property. * * @param value * allowed object is * {@link Dbcp.Pool.Eviction } * */ public void setEviction(Dbcp.Pool.Eviction value) { this.eviction = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <all>
         *         <element name="timeBetweenRuns" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveLong"/>
         *         <element name="numTestsPerRun" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt"/>
         *         <element name="minIdleTime" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeLong" minOccurs="0"/>
         *         <element name="softMinIdleTime" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveLong" minOccurs="0"/>
         *         <element name="policyClassName" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}qualifiedIdentifier" minOccurs="0"/>
         *       </all>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Eviction { protected long timeBetweenRuns; protected int numTestsPerRun; protected Long minIdleTime; protected String softMinIdleTime; protected String policyClassName; /** * Gets the value of the timeBetweenRuns property. * */ public long getTimeBetweenRuns() { return timeBetweenRuns; } /** * Sets the value of the timeBetweenRuns property. * */ public void setTimeBetweenRuns(long value) { this.timeBetweenRuns = value; } /** * Gets the value of the numTestsPerRun property. * */ public int getNumTestsPerRun() { return numTestsPerRun; } /** * Sets the value of the numTestsPerRun property. * */ public void setNumTestsPerRun(int value) { this.numTestsPerRun = value; } /** * Gets the value of the minIdleTime property. * * @return * possible object is * {@link Long } * */ public Long getMinIdleTime() { return minIdleTime; } /** * Sets the value of the minIdleTime property. * * @param value * allowed object is * {@link Long } * */ public void setMinIdleTime(Long value) { this.minIdleTime = value; } /** * Gets the value of the softMinIdleTime property. * * @return * possible object is * {@link String } * */ public String getSoftMinIdleTime() { return softMinIdleTime; } /** * Sets the value of the softMinIdleTime property. * * @param value * allowed object is * {@link String } * */ public void setSoftMinIdleTime(String value) { this.softMinIdleTime = value; } /** * Gets the value of the policyClassName property. * * @return * possible object is * {@link String } * */ public String getPolicyClassName() { return policyClassName; } /** * Sets the value of the policyClassName property. * * @param value * allowed object is * {@link String } * */ public void setPolicyClassName(String value) { this.policyClassName = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <attribute name="on" use="required">
         *         <simpleType>
         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         *             <enumeration value="borrow"/>
         *             <enumeration value="maintenance"/>
         *           </restriction>
         *         </simpleType>
         *       </attribute>
         *       <attribute name="timeout" use="required" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}positiveInt" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class RemoveAbandoned { @XmlAttribute(name = "on", required = true) protected String on; @XmlAttribute(name = "timeout", required = true) protected int timeout; /** * Gets the value of the on property. * * @return * possible object is * {@link String } * */ public String getOn() { return on; } /** * Sets the value of the on property. * * @param value * allowed object is * {@link String } * */ public void setOn(String value) { this.on = value; } /** * Gets the value of the timeout property. * */ public int getTimeout() { return timeout; } /** * Sets the value of the timeout property. * */ public void setTimeout(int value) { this.timeout = value; } } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="initialSize" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt" minOccurs="0"/>
     *         <element name="maxTotal" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
     *         <element name="maxIdle" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
     *         <element name="minIdle" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}nonNegativeInt" minOccurs="0"/>
     *         <element name="maxOpenPreparedStatements" type="{http://www.openjax.org/dbcp-1.1.xsd}indefinitePositiveInt" minOccurs="0"/>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Size { protected Integer initialSize; protected String maxTotal; protected String maxIdle; protected Integer minIdle; protected String maxOpenPreparedStatements; /** * Gets the value of the initialSize property. * * @return * possible object is * {@link Integer } * */ public Integer getInitialSize() { return initialSize; } /** * Sets the value of the initialSize property. * * @param value * allowed object is * {@link Integer } * */ public void setInitialSize(Integer value) { this.initialSize = value; } /** * Gets the value of the maxTotal property. * * @return * possible object is * {@link String } * */ public String getMaxTotal() { return maxTotal; } /** * Sets the value of the maxTotal property. * * @param value * allowed object is * {@link String } * */ public void setMaxTotal(String value) { this.maxTotal = value; } /** * Gets the value of the maxIdle property. * * @return * possible object is * {@link String } * */ public String getMaxIdle() { return maxIdle; } /** * Sets the value of the maxIdle property. * * @param value * allowed object is * {@link String } * */ public void setMaxIdle(String value) { this.maxIdle = value; } /** * Gets the value of the minIdle property. * * @return * possible object is * {@link Integer } * */ public Integer getMinIdle() { return minIdle; } /** * Sets the value of the minIdle property. * * @param value * allowed object is * {@link Integer } * */ public void setMinIdle(Integer value) { this.minIdle = value; } /** * Gets the value of the maxOpenPreparedStatements property. * * @return * possible object is * {@link String } * */ public String getMaxOpenPreparedStatements() { return maxOpenPreparedStatements; } /** * Sets the value of the maxOpenPreparedStatements property. * * @param value * allowed object is * {@link String } * */ public void setMaxOpenPreparedStatements(String value) { this.maxOpenPreparedStatements = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="query" minOccurs="0">
     *           <simpleType>
     *             <restriction base="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty">
     *               <pattern value="SELECT.*"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="testOnBorrow" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="testOnReturn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="testWhileIdle" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         <element name="fastFail" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <all>
     *                   <element name="disconnectionSqlCodes" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" minOccurs="0"/>
     *                 </all>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class Validation { protected String query; protected Boolean testOnBorrow; protected Boolean testOnReturn; protected Boolean testWhileIdle; protected Dbcp.Validation.FastFail fastFail; /** * Gets the value of the query property. * * @return * possible object is * {@link String } * */ public String getQuery() { return query; } /** * Sets the value of the query property. * * @param value * allowed object is * {@link String } * */ public void setQuery(String value) { this.query = value; } /** * Gets the value of the testOnBorrow property. * * @return * possible object is * {@link Boolean } * */ public Boolean getTestOnBorrow() { return testOnBorrow; } /** * Sets the value of the testOnBorrow property. * * @param value * allowed object is * {@link Boolean } * */ public void setTestOnBorrow(Boolean value) { this.testOnBorrow = value; } /** * Gets the value of the testOnReturn property. * * @return * possible object is * {@link Boolean } * */ public Boolean getTestOnReturn() { return testOnReturn; } /** * Sets the value of the testOnReturn property. * * @param value * allowed object is * {@link Boolean } * */ public void setTestOnReturn(Boolean value) { this.testOnReturn = value; } /** * Gets the value of the testWhileIdle property. * * @return * possible object is * {@link Boolean } * */ public Boolean getTestWhileIdle() { return testWhileIdle; } /** * Sets the value of the testWhileIdle property. * * @param value * allowed object is * {@link Boolean } * */ public void setTestWhileIdle(Boolean value) { this.testWhileIdle = value; } /** * Gets the value of the fastFail property. * * @return * possible object is * {@link Dbcp.Validation.FastFail } * */ public Dbcp.Validation.FastFail getFastFail() { return fastFail; } /** * Sets the value of the fastFail property. * * @param value * allowed object is * {@link Dbcp.Validation.FastFail } * */ public void setFastFail(Dbcp.Validation.FastFail value) { this.fastFail = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <all>
         *         <element name="disconnectionSqlCodes" type="{http://www.openjax.org/xml/datatypes-0.9.xsd}stringNonEmpty" minOccurs="0"/>
         *       </all>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class FastFail { protected String disconnectionSqlCodes; /** * Gets the value of the disconnectionSqlCodes property. * * @return * possible object is * {@link String } * */ public String getDisconnectionSqlCodes() { return disconnectionSqlCodes; } /** * Sets the value of the disconnectionSqlCodes property. * * @param value * allowed object is * {@link String } * */ public void setDisconnectionSqlCodes(String value) { this.disconnectionSqlCodes = value; } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy