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

Field Detail

DATASOURCE

static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String URL
The url to connect to the database. Example: jdbc:hsqldb:database/jiradb. The

See Also:
Constant Field Values

USERNAME

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

See Also:
Constant Field Values

PASSWORD

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

See Also:
Constant Field Values

ID

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

See Also:
Constant Field Values

CONNECTION_PROPERTIES

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

See Also:
Constant Field Values


Copyright © 2004-2011 Codehaus. All Rights Reserved.