Viewing file: SqljConnCacheBean.html (16.63 KB) -rw-rw-rw- Select action/file-type: (+ ) | (+ ) | (+ ) | Code (+ ) | Session (+ ) | (+ ) | SDB (+ ) | (+ ) | (+ ) | (+ ) | (+ ) | (+ ) |
: Class SqljConnCacheBean
oracle.sqlj.runtime
Class SqljConnCacheBean
java.lang.Object
|
+--oracle.jdbc.pool.OracleDataSource
|
+--oracle.jdbc.pool.OracleConnectionCacheImpl
|
+--oracle.sqlj.runtime.OracleSqljConnectionCacheImpl
|
+--oracle.sqlj.runtime.SqljConnCacheBean
public class SqljConnCacheBean extends OracleSqljConnectionCacheImpl implements oracle.jsp.event.JspScopeListener
DESCRIPTION
SqljConnCacheBean can be used in place of ConnCacheBean.
Compared to ConnCacheBean, SqljConnCacheBean support extra
APIs defined in sqlj.runtime.ConnectionContextFactory.
See Also: ConnectionContextFactory
,
NOTES
Although SqljConnCacheBean can be considered as an enhancement
of ConnCacheBean, it is implemented by extending OracleSqljConnectionCacheImpl,
rather than ConnCacheBean.
,
Bean Properties
User - user name for connection
Password password for connection
URL URL for database connection
MaxLimit Set the maximum no of connections for the Cache
MinLimit Set the minimum no of connections for the Cache
CacheScheme Set the Cache Scheme
Possible values for Scheme are :
DYNAMIC_SCHEME
FIXED_WAIT_SCHEME
FIXED_RETURN_NULL_SCHEME
, Serialized Form
Fields inherited from class oracle.jdbc.pool.OracleConnectionCacheImpl
_DEFAULT_MAX_LIMIT,
_DEFAULT_MIN_LIMIT,
_MAX_LIMIT,
_MIN_LIMIT,
DEFAULT_CACHE_TIMEOUT,
DEFAULT_FIXED_WAIT_IDLE_TIME,
DEFAULT_THREAD_INTERVAL,
DYNAMIC_SCHEME,
FIXED_RETURN_NULL_SCHEME,
FIXED_WAIT_SCHEME,
m_activeSize,
m_cacheFixedWaitTimeOut,
m_cacheInactivityTimeOut,
m_cacheScheme,
m_cacheSize,
m_cacheTTLTimeOut,
m_cpds,
m_fixedWaitIdleTime,
m_ocel,
m_stmtCacheSize,
m_stmtClearMetaData,
m_threadInterval,
m_timeOutThread
Fields inherited from class oracle.jdbc.pool.OracleDataSource
m_databaseName,
m_dataSourceName,
m_description,
m_driverType,
m_explicitCachingEnabled,
m_implicitCachingEnabled,
m_maxStatements,
m_networkProtocol,
m_password,
m_portNumber,
m_pw,
m_serverName,
m_serviceName,
m_timeout,
m_tnsentry,
m_url,
m_user
Method Summary
void
outOfScope (oracle.jsp.event.JspScopeEvent ae)
Methods inherited from class oracle.jdbc.pool.OracleConnectionCacheImpl
clearWarnings,
close,
closePooledConnection,
closeSingleConnection,
getActiveSize,
getCacheFixedWaitIdleTime,
getCacheFixedWaitTimeout,
getCacheInactivityTimeout,
getCacheScheme,
getCacheSize,
getCacheTimeToLiveTimeout,
getConnection,
getConnection,
getMaxLimit,
getMinLimit,
getPooledConnection,
getReference,
getStmtCacheSize,
getThreadWakeUpInterval,
getWarnings,
reusePooledConnection,
setCacheFixedWaitIdleTime,
setCacheFixedWaitTimeout,
setCacheInactivityTimeout,
setCacheScheme,
setCacheScheme,
setCacheTimeToLiveTimeout,
setConnectionPoolDataSource,
setMaxLimit,
setMinLimit,
setStmtCacheSize,
setStmtCacheSize,
setThreadWakeUpInterval
Methods inherited from class oracle.jdbc.pool.OracleDataSource
addRefProperties,
getDatabaseName,
getDataSourceName,
getDescription,
getDriverType,
getExplicitCachingEnabled,
getImplicitCachingEnabled,
getLoginTimeout,
getLogWriter,
getMaxStatements,
getNetworkProtocol,
getPassword,
getPortNumber,
getServerName,
getServiceName,
getTNSEntryName,
getURL,
getUser,
setDatabaseName,
setDataSourceName,
setDescription,
setDriverType,
setExplicitCachingEnabled,
setImplicitCachingEnabled,
setLoginTimeout,
setLogWriter,
setMaxStatements,
setNetworkProtocol,
setPassword,
setPortNumber,
setServerName,
setServiceName,
setTNSEntryName,
setURL,
setUser,
trace
Methods inherited from class java.lang.Object
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
DYNAMIC_SCHEME
public static final int DYNAMIC_SCHEME
FIXED_WAIT_SCHEME
public static final int FIXED_WAIT_SCHEME
FIXED_RETURN_NULL_SCHEME
public static final int FIXED_RETURN_NULL_SCHEME
SqljConnCacheBean
public SqljConnCacheBean ()
throws java.sql.SQLException
outOfScope
public void outOfScope (oracle.jsp.event.JspScopeEvent ae)
Specified by: outOfScope in interface oracle.jsp.event.JspScopeListener