public class DataSource extends Object
<datasource> tag used to configure
the plugin in the pom.xml file.| Constructor and Description |
|---|
DataSource() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.cargo.container.configuration.entry.DataSource |
createDataSource()
Create the datasource object.
|
Properties |
getConnectionProperties() |
String |
getConnectionType() |
String |
getDriverClass() |
String |
getId() |
String |
getJndiName() |
String |
getPassword() |
String |
getTransactionSupport() |
String |
getUrl() |
String |
getUsername() |
void |
setConnectionProperties(Properties connectionProperties) |
void |
setConnectionType(String connectionType) |
void |
setDriverClass(String driverClass) |
void |
setId(String id) |
void |
setJndiName(String jndiName) |
void |
setPassword(String password) |
void |
setTransactionSupport(String transactionSupport) |
void |
setUrl(String url) |
void |
setUsername(String username) |
public Properties getConnectionProperties()
public void setConnectionProperties(Properties connectionProperties)
connectionProperties - Extra properties passed to the DataSource.public String getConnectionType()
javax.sql.XADataSource or javax.sql.Driver.public void setConnectionType(String connectionType)
connectionType - Type of this DataSource, for example
javax.sql.XADataSource or javax.sql.Driver.public String getDriverClass()
public void setDriverClass(String driverClass)
driverClass - The class name of the Driver.public String getId()
public void setId(String id)
id - Id used in configuration files.public String getJndiName()
public void setJndiName(String jndiName)
jndiName - JNDI name where to find this DataSource.public String getPassword()
public void setPassword(String password)
password - DataSource password.public String getTransactionSupport()
XA_TRANSACTIONpublic void setTransactionSupport(String transactionSupport)
transactionSupport - Transaction support of the datasource ex.
XA_TRANSACTIONpublic String getUrl()
public void setUrl(String url)
url - DataSource connection URL.public String getUsername()
public void setUsername(String username)
username - DataSource username.public org.codehaus.cargo.container.configuration.entry.DataSource createDataSource()
Copyright © 2004–2018 Github. All rights reserved.