public class JndiDatasourceService extends BaseDatasourceService implements IJndiDatasourceService
ACCESS_TO_UNDERLYING_CONNECTION_ALLOWED, DEFAULT_AUTO_COMMIT, DEFAULT_CATALOG, DEFAULT_READ_ONLY, DEFAULT_TRANSACTION_ISOLATION, IDBDATASOURCE_SERVICE, INITIAL_SIZE, JDBC_DATASOURCE, JDBC_POOL, LOG_ABANDONED, MAX_ACTIVE_KEY, MAX_IDLE_KEY, MAX_OPEN_PREPARED_STATEMENTS, MAX_WAIT_KEY, MIN_IDLE_KEY, POOL_PREPARED_STATEMENTS, QUERY_KEY, REMOVE_ABANDONED, REMOVE_ABANDONED_TIMEOUT, TEST_ON_BORROW, TEST_ON_RETURN, TEST_WHILE_IDLE, TIME_BETWEEN_EVICTION_RUNS_MILLIS, TRANSACTION_ISOLATION_NONE_VALUE
Constructor and Description |
---|
JndiDatasourceService() |
Modifier and Type | Method and Description |
---|---|
protected DataSource |
retrieve(String dsName)
This should have been abstract, but changes to this API at a point release is not advised.
|
clearCache, clearDataSource, getCacheManager, getDataSource, getDatasourceMgmtService, getDSBoundName, getDSUnboundName, getJndiDataSource, resolveDatabaseConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCache, clearDataSource, getDataSource, getDSBoundName, getDSUnboundName
protected DataSource retrieve(String dsName) throws DBDatasourceServiceException
BaseDatasourceService
retrieve
in class BaseDatasourceService
dsName
- name of JNDI referenceDBDatasourceServiceException
Copyright © 2017 Hitachi Vantara. All rights reserved.