org.codehaus.cargo.container.property
Interface DatasourcePropertySet


public interface DatasourcePropertySet

Gathers all data source properties valid for all types of containers.

Version:
$Id: DatasourcePropertySet.java 1877 2009-02-13 14:09:28Z adriancole $

Field Summary
static String CONNECTION_PROPERTIES
          Extra properties passed to the JDBC driver or datasource implementation.
static String CONNECTION_TYPE
          The type of the data source (typically javax.sql.XADataSource, javax.sql.ConnectionPoolDataSource or javax.sql.DataSource).
static String DATASOURCE
          A property to encapsulate all the other datasource properties.
static String DRIVER_CLASS
          The class name of the Driver or XADataSource implementation clas.
static String ID
          Unique id to use in configuration files.
static String JNDI_LOCATION
          The JNDI location that this datasource should be bound do (in the config file).
static String PASSWORD
          The password to use when connecting to the database.
static String TRANSACTION_SUPPORT
          The transaction support of the data source.
static String URL
          The url to connect to the database.
static String USERNAME
          The username to use when connecting to the database.
 

Field Detail

DATASOURCE

static final String DATASOURCE
A property to encapsulate all the other datasource properties. This is to get around cargo only passing strings around, instead of objects.

See Also:
Constant Field Values

JNDI_LOCATION

static final String JNDI_LOCATION
The JNDI location that this datasource should be bound do (in the config file). Note that many application servers may prepend a context (typically java:comp/env) to this context.

See Also:
Constant Field Values

CONNECTION_TYPE

static final String CONNECTION_TYPE
The type of the data source (typically javax.sql.XADataSource, javax.sql.ConnectionPoolDataSource or javax.sql.DataSource).

See Also:
Constant Field Values

TRANSACTION_SUPPORT

static final String TRANSACTION_SUPPORT
The transaction support of the data source. One of NO_TRANSACTION, LOCAL_TRANSACTION or XA_TRANSACTION

See Also:
Constant Field Values

DRIVER_CLASS

static final String DRIVER_CLASS
The class name of the Driver or XADataSource implementation clas. Example: org.hsqldb.jdbcDriver/code>.

See Also:
Constant Field Values

URL

static final String URL
The url to connect to the database. Example: jdbc:hsqldb:database/jiradb. The

See Also:
Constant Field Values

USERNAME

static final String USERNAME
The username to use when connecting to the database.

See Also:
Constant Field Values

PASSWORD

static final String PASSWORD
The password to use when connecting to the database.

See Also:
Constant Field Values

ID

static final String ID
Unique id to use in configuration files.

See Also:
Constant Field Values

CONNECTION_PROPERTIES

static final String CONNECTION_PROPERTIES
Extra properties passed to the JDBC driver or datasource implementation.

See Also:
Constant Field Values


Copyright © 2004-2012 Codehaus. All Rights Reserved.