public class Jdbc40ObjectsFactory extends JdbcObjectsFactory
_logger
Constructor and Description |
---|
Jdbc40ObjectsFactory() |
Modifier and Type | Method and Description |
---|---|
void |
detectJDBC30Connection(Connection con,
ManagedConnectionImpl mcObject) |
ConnectionHolder |
getConnection(Connection conObject,
ManagedConnectionImpl mcObject,
javax.resource.spi.ConnectionRequestInfo criObject,
boolean statementWrapping,
SQLTraceDelegator sqlTraceDelegator)
To get an instance of ConnectionHolder40.
Will return a ConnectionHolder40 with or without wrapper |
DataSource |
getDataSourceInstance(ManagedConnectionFactoryImpl mcfObject,
javax.resource.spi.ConnectionManager cmObject)
Returns a DataSource instance for JDBC 4.0
|
boolean |
isJdbc30Connection() |
boolean |
isJDBC30ConnectionDetected() |
void |
setJdbc30Connection(boolean jdbc30Connection) |
getInstance, getProxiedConnection, getProxyObject
public ConnectionHolder getConnection(Connection conObject, ManagedConnectionImpl mcObject, javax.resource.spi.ConnectionRequestInfo criObject, boolean statementWrapping, SQLTraceDelegator sqlTraceDelegator)
getConnection
in class JdbcObjectsFactory
conObject
- ConnectionmcObject
- ManagedConnectioncriObject
- Connection Request InfostatementWrapping
- Whether to wrap statement objects or not.public DataSource getDataSourceInstance(ManagedConnectionFactoryImpl mcfObject, javax.resource.spi.ConnectionManager cmObject)
getDataSourceInstance
in class JdbcObjectsFactory
mcfObject
- Managed Connection FactorycmObject
- Connection Managerpublic boolean isJdbc30Connection()
public void setJdbc30Connection(boolean jdbc30Connection)
public boolean isJDBC30ConnectionDetected()
public void detectJDBC30Connection(Connection con, ManagedConnectionImpl mcObject)
Copyright © 2018. All rights reserved.