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

org.openjax.dbcp_1_1.ObjectFactory 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 javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the org.openjax.dbcp_1_1 package. 
 * 

An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * */ @XmlRegistry @java.lang.SuppressWarnings("all") public class ObjectFactory { private final static QName _Dbcp_QNAME = new QName("http://www.openjax.org/dbcp-1.1.xsd", "dbcp"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openjax.dbcp_1_1 * */ public ObjectFactory() { } /** * Create an instance of {@link Dbcp } * */ public Dbcp createDbcp() { return new Dbcp(); } /** * Create an instance of {@link Dbcp.Validation } * */ public Dbcp.Validation createDbcpValidation() { return new Dbcp.Validation(); } /** * Create an instance of {@link Dbcp.Pool } * */ public Dbcp.Pool createDbcpPool() { return new Dbcp.Pool(); } /** * Create an instance of {@link Dbcp.Connection } * */ public Dbcp.Connection createDbcpConnection() { return new Dbcp.Connection(); } /** * Create an instance of {@link Dbcp.Connection.Properties } * */ public Dbcp.Connection.Properties createDbcpConnectionProperties() { return new Dbcp.Connection.Properties(); } /** * Create an instance of {@link Dbcps } * */ public Dbcps createDbcps() { return new Dbcps(); } /** * Create an instance of {@link Dbcp.Jdbc } * */ public Dbcp.Jdbc createDbcpJdbc() { return new Dbcp.Jdbc(); } /** * Create an instance of {@link Dbcp.Default } * */ public Dbcp.Default createDbcpDefault() { return new Dbcp.Default(); } /** * Create an instance of {@link Dbcp.Size } * */ public Dbcp.Size createDbcpSize() { return new Dbcp.Size(); } /** * Create an instance of {@link Dbcp.Logging } * */ public Dbcp.Logging createDbcpLogging() { return new Dbcp.Logging(); } /** * Create an instance of {@link Dbcp.Validation.FastFail } * */ public Dbcp.Validation.FastFail createDbcpValidationFastFail() { return new Dbcp.Validation.FastFail(); } /** * Create an instance of {@link Dbcp.Pool.RemoveAbandoned } * */ public Dbcp.Pool.RemoveAbandoned createDbcpPoolRemoveAbandoned() { return new Dbcp.Pool.RemoveAbandoned(); } /** * Create an instance of {@link Dbcp.Pool.Eviction } * */ public Dbcp.Pool.Eviction createDbcpPoolEviction() { return new Dbcp.Pool.Eviction(); } /** * Create an instance of {@link Dbcp.Connection.InitSqls } * */ public Dbcp.Connection.InitSqls createDbcpConnectionInitSqls() { return new Dbcp.Connection.InitSqls(); } /** * Create an instance of {@link Dbcp.Connection.Properties.Property } * */ public Dbcp.Connection.Properties.Property createDbcpConnectionPropertiesProperty() { return new Dbcp.Connection.Properties.Property(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Dbcp }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Dbcp }{@code >} */ @XmlElementDecl(namespace = "http://www.openjax.org/dbcp-1.1.xsd", name = "dbcp") public JAXBElement createDbcp(Dbcp value) { return new JAXBElement(_Dbcp_QNAME, Dbcp.class, null, value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy