Class OracleDatasourceAccessor

java.lang.Object
psiprobe.beans.accessors.OracleDatasourceAccessor
All Implemented Interfaces:
DatasourceAccessor

public class OracleDatasourceAccessor extends Object implements DatasourceAccessor
Accesses oracle.jdbc.pool.OracleDataSource.

Oracle connection pool is quite different from any other available for Tomcat. Datasources are run by static OracleConnectionCacheManager, whereby application context scope datasource would have a named entry in OracleConnectionCacheManager.

Datasources do not have information about pool as such, therefore this accessor has to do quite tedious job of verifying whether the datasource has a record in the cache manager or not. The pool information is subsequently retrieved from the relevant cache manager entry.