| 程序包 | 说明 |
|---|---|
| com.codingapi.txlcn.tc.core.transaction.txc.resource | |
| com.codingapi.txlcn.tc.support.p6spy.event | |
| com.codingapi.txlcn.tc.support.p6spy.wrapper |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompoundJdbcEventListener |
class |
TxcJdbcEventListener |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultEventListener
This implementation of
JdbcEventListener must always be applied as the first listener. |
class |
P6spyJdbcEventListener
This event listener offers more coarse grained event listener methods as it aggregates events for the execute* and
addBatch methods.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected JdbcEventListener |
StatementWrapper.eventListener |
| 限定符和类型 | 方法和说明 |
|---|---|
JdbcEventListener |
ConnectionWrapper.getEventListener() |
JdbcEventListener |
ConnectionWrapper.getJdbcEventListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CallableStatement |
CallableStatementWrapper.wrap(CallableStatement delegate,
CallableStatementInformation callableStatementInformation,
JdbcEventListener eventListener) |
static ConnectionWrapper |
ConnectionWrapper.wrap(Connection delegate,
JdbcEventListener eventListener,
ConnectionInformation connectionInformation) |
static PreparedStatement |
PreparedStatementWrapper.wrap(PreparedStatement delegate,
PreparedStatementInformation preparedStatementInformation,
JdbcEventListener eventListener) |
static ResultSet |
ResultSetWrapper.wrap(ResultSet delegate,
ResultSetInformation resultSetInformation,
JdbcEventListener eventListener) |
static Statement |
StatementWrapper.wrap(Statement delegate,
StatementInformation statementInformation,
JdbcEventListener eventListener) |
| 构造器和说明 |
|---|
CallableStatementWrapper(CallableStatement delegate,
CallableStatementInformation callableStatementInformation,
JdbcEventListener eventListener) |
ConnectionWrapper(Connection delegate,
JdbcEventListener jdbcEventListener,
ConnectionInformation connectionInformation)
Should only be called by
ConnectionWrapper.wrap(Connection, JdbcEventListener, ConnectionInformation)
Setting to protected instead of private, so that CGLIB can create a subclass/proxy
See also: net.sf.cglib.proxy.Enhancer#filterConstructors (protectedOk: true) |
PreparedStatementWrapper(PreparedStatement delegate,
PreparedStatementInformation preparedStatementInformation,
JdbcEventListener eventListener) |
ResultSetWrapper(ResultSet delegate,
ResultSetInformation resultSetInformation,
JdbcEventListener eventListener) |
StatementWrapper(Statement delegate,
StatementInformation statementInformation,
JdbcEventListener eventListener) |
Copyright © 2019. All rights reserved.