|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.websphere.advanced.cm.factory.Attributes
DataSourceFactory.getDataSource(java.util.Properties)
Attributes encapsulates all of the information required to create a WebSphere DataSource though the DataSourceFactory API. Attributes provides defaults for some values but all remaining values must be filled-in prior to using the Attributes object to create a DataSource.
Field Summary | |
long |
connTimeout
Deprecated. Timeout, in milliseconds, for connection waits; the default value is 180000 (3 minutes). |
java.lang.String |
databaseName
Deprecated. For JTA DataSources, the name of the target database; there is no default value; must not be null for JTA DataSources. |
static long |
defaultConnTimeout
Deprecated. |
static long |
defaultIdleTimeout
Deprecated. |
static long |
defaultOrphanTimeout
Deprecated. |
java.lang.String |
description
Deprecated. Description for the DataSource; there is no default value; may be null. |
java.lang.String |
driver
Deprecated. Fully-qualified class name of the JDBC driver to be used to access the database; there is no default value; may not be null. |
long |
idleTimeout
Deprecated. Timeout, in milliseconds, for idle connection release; the default value is 1800000 (30 minutes). |
int |
max
Deprecated. Maximum number of connections in the connection pool; the default value is 2. |
int |
min
Deprecated. Minimum number of connections in the connection pool; the default value is 1. |
java.lang.String |
name
Deprecated. Unique name for the DataSource; there is no default value; may not be null. |
java.lang.String |
oemId
Deprecated. Oem password. |
long |
orphanTimeout
Deprecated. Timeout, in milliseconds, for orphan connection collection; the default value is 1800000 (30 minutes). |
int |
statementCacheSize
Deprecated. Maximum number of prepared statements to cache for the DataSource; this limit is shared among all connections; default value is 100 |
java.lang.String |
url
Deprecated. JDBC 1.x-style database URL identifying the target database; there is no default value; must not be null for JDBC DataSurces. |
Constructor Summary | |
Attributes()
Deprecated. |
Method Summary | |
java.lang.String |
toString()
Deprecated. Print a nice pretty view of the parameters in this Attributes instance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String name
public java.lang.String driver
public java.lang.String url
public java.lang.String databaseName
public java.lang.String description
public int min
public int max
public long connTimeout
public static long defaultConnTimeout
public long idleTimeout
public static long defaultIdleTimeout
public long orphanTimeout
public static long defaultOrphanTimeout
public int statementCacheSize
public java.lang.String oemId
Constructor Detail |
public Attributes()
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |