com.xebialabs.deployit.plugin.tomcat.ci
Class TomcatDataSource
java.lang.Object
com.xebialabs.deployit.BaseConfigurationItem
com.xebialabs.deployit.plugin.tomcat.ci.TomcatResource
com.xebialabs.deployit.plugin.tomcat.ci.TomcatDataSource
- All Implemented Interfaces:
- java.io.Serializable
@ConfigurationItem
public class TomcatDataSource
- extends TomcatResource
A Tomcat JDBC DataSource, based on default DBCP connection pool from the Apache's commons project.
- See Also:
- Serialized Form
| Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem |
label |
| Methods inherited from class com.xebialabs.deployit.BaseConfigurationItem |
equals, getLabel, hashCode, setLabel, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
driverClass
@ConfigurationItemProperty
private java.lang.String driverClass
connectionUrl
@ConfigurationItemProperty(size=LARGE)
private java.lang.String connectionUrl
username
@ConfigurationItemProperty
private java.lang.String username
password
@ConfigurationItemProperty(password=true)
private java.lang.String password
maxActive
@ConfigurationItemProperty(description="The maximum number of active instances that can be allocated from this pool at the same time")
private int maxActive
maxIdle
@ConfigurationItemProperty(description="The maximum number of connections that can sit idle in this pool at the same time")
private int maxIdle
maxWait
@ConfigurationItemProperty(description="The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception")
private int maxWait
TomcatDataSource
public TomcatDataSource()
getDriverClass
public java.lang.String getDriverClass()
setDriverClass
public void setDriverClass(java.lang.String driverClass)
getConnectionUrl
public java.lang.String getConnectionUrl()
setConnectionUrl
public void setConnectionUrl(java.lang.String connectionUrl)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getMaxActive
public int getMaxActive()
setMaxActive
public void setMaxActive(int maxActive)
getMaxIdle
public int getMaxIdle()
setMaxIdle
public void setMaxIdle(int maxIdle)
getMaxWait
public int getMaxWait()
setMaxWait
public void setMaxWait(int maxWait)
Copyright © 2010. All Rights Reserved.