| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final MLogger | |
| pack-priv Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized String | |
| private synchronized int | |
| private synchronized String | |
| public int | getLoginTimeout()
Implements javax. Gets the maximum time in seconds that this data source can wait while attempting to connect to a database. |
| public PrintWriter | getLogWriter()
Implements javax. Retrieves the log writer for this |
| public String | |
| public PooledConnection | getPooledConnection()
Implements javax. Attempts to establish a physical database connection that can be used as a pooled connection. |
| protected PooledConnection | getPooledConnection(ConnectionCustomizer cc, String pdsIdt)
Implements abstract com.
|
| public PooledConnection | getPooledConnection(String
the database user on whose behalf the connection is being made user, String the user's password password)Implements javax. Attempts to establish a physical database connection that can be used as a pooled connection. |
| protected PooledConnection | getPooledConnection(String user, String password, ConnectionCustomizer cc, String pdsIdt)
Implements abstract com.
|
| private synchronized String | |
| public String | |
| public synchronized Map | |
| private synchronized boolean | |
| private synchronized boolean | |
| public void | setLoginTimeout(int
the data source login time limit seconds)Implements javax. Sets the maximum time in seconds that this data source will wait while attempting to connect to a database. |
| public void | setLogWriter(PrintWriter
the new log writer; to disable logging, set to null out)Implements javax. Sets the log writer for this |
| private void | |
| private synchronized void | |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| logger | back to summary |
|---|---|
| pack-priv static final MLogger logger | |
| userOverrides | back to summary |
|---|---|
| pack-priv Map<K, V> userOverrides | |
| WrapperConnectionPoolDataSource | back to summary |
|---|---|
| public WrapperConnectionPoolDataSource(boolean autoregister) | |
| WrapperConnectionPoolDataSource | back to summary |
|---|---|
| public WrapperConnectionPoolDataSource() | |
| WrapperConnectionPoolDataSource | back to summary |
|---|---|
| public WrapperConnectionPoolDataSource(String configName) | |
| extraToStringInfo | back to summary |
|---|---|
| protected synchronized String extraToStringInfo() Overrides com. | |
| getConnectionIsValidTimeout | back to summary |
|---|---|
| private synchronized int getConnectionIsValidTimeout(String userName) | |
| getConnectionTesterClassName | back to summary |
|---|---|
| private synchronized String getConnectionTesterClassName(String userName) | |
| getLoginTimeout | back to summary |
|---|---|
| public int getLoginTimeout() throws SQLException Implements javax. Doc from javax. Gets the maximum time in seconds that this data source can wait
while attempting to connect to a database. A value of zero
means that the timeout is the default system timeout
if there is one; otherwise, it means that there is no timeout.
When a
| |
| getLogWriter | back to summary |
|---|---|
| public PrintWriter getLogWriter() throws SQLException Implements javax. Doc from javax. Retrieves the log writer for this The log writer is a character output stream to which all logging
and tracing messages for this data source will be
printed. This includes messages printed by the methods of this
object, messages printed by methods of other objects manufactured
by this object, and so on. Messages printed to a data source
specific log writer are not printed to the log writer associated
with the
| |
| getPassword | back to summary |
|---|---|
| public String getPassword() | |
| getPooledConnection | back to summary |
|---|---|
| public PooledConnection getPooledConnection() throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used as a pooled connection.
| |
| getPooledConnection | back to summary |
|---|---|
| protected PooledConnection getPooledConnection(ConnectionCustomizer cc, String pdsIdt) throws SQLException Implements abstract com. | |
| getPooledConnection | back to summary |
|---|---|
| public PooledConnection getPooledConnection(String user, String password) throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used as a pooled connection.
| |
| getPooledConnection | back to summary |
|---|---|
| protected PooledConnection getPooledConnection(String user, String password, ConnectionCustomizer cc, String pdsIdt) throws SQLException Implements abstract com. | |
| getPreferredTestQuery | back to summary |
|---|---|
| private synchronized String getPreferredTestQuery(String userName) | |
| getUser | back to summary |
|---|---|
| public String getUser() | |
| getUserOverrides | back to summary |
|---|---|
| public synchronized Map | |
| isAutoCommitOnClose | back to summary |
|---|---|
| private synchronized boolean isAutoCommitOnClose(String userName) | |
| isForceIgnoreUnresolvedTransactions | back to summary |
|---|---|
| private synchronized boolean isForceIgnoreUnresolvedTransactions(String userName) | |
| setLoginTimeout | back to summary |
|---|---|
| public void setLoginTimeout(int seconds) throws SQLException Implements javax. Doc from javax. Sets the maximum time in seconds that this data source will wait
while attempting to connect to a database. A value of zero
specifies that the timeout is the default system timeout
if there is one; otherwise, it specifies that there is no timeout.
When a
| |
| setLogWriter | back to summary |
|---|---|
| public void setLogWriter(PrintWriter out) throws SQLException Implements javax. Doc from javax. Sets the log writer for this The log writer is a character output stream to which all logging
and tracing messages for this data source will be
printed. This includes messages printed by the methods of this
object, messages printed by methods of other objects manufactured
by this object, and so on. Messages printed to a data source-
specific log writer are not printed to the log writer associated
with the
| |
| setUpPropertyListeners | back to summary |
|---|---|
| private void setUpPropertyListeners() | |
| setUserOverrides | back to summary |
|---|---|
| private synchronized void setUserOverrides(Map<K, V> userOverrides) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |