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 975 2006-03-30 09:39:21Z vmassol $

Field Summary
static java.lang.String DATASOURCE
          A property to encapsulate all the other datasource properties.
static java.lang.String DATASOURCE_TYPE
          The type of the data source (typically javax.sql.XADataSource or javax.sql.DataSource).
static java.lang.String DRIVER_CLASS
          The class name of the JDBC driver.
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 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

DATASOURCE_TYPE

static final java.lang.String DATASOURCE_TYPE
The type of the data source (typically javax.sql.XADataSource or javax.sql.DataSource).

See Also:
Constant Field Values

DRIVER_CLASS

static final java.lang.String DRIVER_CLASS
The class name of the JDBC driver. Example: org.hsqldb.jdbcDriver.

See Also:
Constant Field Values

URL

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

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


Copyright © 2004-2011 Codehaus. All Rights Reserved.