Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\oracle\product\10.2.0\client_2\sqlj\doc\runtime\javadoc\oracle\sqlj\runtime\ drwxrwxrwx |
Viewing file: OracleSqljXAConnectionCacheImpl.html (25.28 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
oracle.sqlj.runtime
|
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 |
Constructor Summary | |
OracleSqljXAConnectionCacheImpl()
Default Constructor. |
|
OracleSqljXAConnectionCacheImpl(oracle.jdbc.pool.OracleConnectionPoolDataSource cpds)
Create an OracleSqljXAConnectionCacheImpl with the given ConnectionPoolDataSource from which XAConnections have to be created. |
Method Summary | |
ConnectionContext |
getContext(java.lang.Class ctxClass)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
boolean autoCommit)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
java.lang.String user,
java.lang.String password)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
java.lang.String user,
java.lang.String password,
boolean autoCommit)
Returns an instance of ctxClass. |
DefaultContext |
getDefaultContext()
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(boolean autoCommit)
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(java.lang.String user,
java.lang.String password)
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(java.lang.String user,
java.lang.String password,
boolean autoCommit)
Returns a DefaultContext instance. |
Methods inherited from class oracle.jdbc.pool.OracleXAConnectionCacheImpl |
closeActualConnection,
getNativeXA,
getXAConnection,
getXAConnection,
setNativeXA |
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 |
Constructor Detail |
public OracleSqljXAConnectionCacheImpl() throws java.sql.SQLException
Default Constructor. Should have an explicit call to set the URL, User, Password and other DataSource details. A ConnectionPoolDataSource is created with these options from which XAConnections can be created.
public OracleSqljXAConnectionCacheImpl(oracle.jdbc.pool.OracleConnectionPoolDataSource cpds) throws java.sql.SQLException
Create an OracleSqljXAConnectionCacheImpl with the given ConnectionPoolDataSource from which XAConnections have to be created. In this case, url, user name, password, and other DataSource properties set on this Cache are ignored.
cpds
- a datasource from which the Cache can create
XAConnections.Method Detail |
public DefaultContext getDefaultContext() throws java.sql.SQLException
public DefaultContext getDefaultContext(java.lang.String user, java.lang.String password) throws java.sql.SQLException
user
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextpublic ConnectionContext getContext(java.lang.Class ctxClass) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, java.lang.String user, java.lang.String password) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextuser
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextpublic DefaultContext getDefaultContext(boolean autoCommit) throws java.sql.SQLException
autoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic DefaultContext getDefaultContext(java.lang.String user, java.lang.String password, boolean autoCommit) throws java.sql.SQLException
user
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, boolean autoCommit) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, java.lang.String user, java.lang.String password, boolean autoCommit) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextuser
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |