| Package | Description |
|---|---|
| net.ttddyy.dsproxy.listener | |
| net.ttddyy.dsproxy.proxy | |
| net.ttddyy.dsproxy.support |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractQueryLoggingListener |
class |
ChainListener
Execute chain of listeners.
|
class |
CommonsOracleOutputParameterLoggingListener |
class |
CommonsQueryLoggingListener
Record executed query information using Commons-Logging.
|
class |
DataSourceQueryCountListener
Update database access information to thread local value(
QueryCount). |
class |
NoOpQueryExecutionListener
No operation implementation of
QueryExecutionListener |
class |
SLF4JQueryLoggingListener
Log executed query information using SLF4J.
|
class |
SystemOutQueryLoggingListener
Output query logging to System.out.
|
| Modifier and Type | Field and Description |
|---|---|
static QueryExecutionListener |
QueryExecutionListener.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
List<QueryExecutionListener> |
ChainListener.getListeners() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainListener.addListener(QueryExecutionListener listner) |
void |
QueryExecutionListenerUtils.addListener(QueryExecutionListener source,
QueryExecutionListener toAdd) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainListener.setListeners(List<QueryExecutionListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
QueryExecutionListener |
InterceptorHolder.getListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
InterceptorHolder.setListener(QueryExecutionListener listener) |
| Constructor and Description |
|---|
InterceptorHolder(QueryExecutionListener listener,
QueryTransformer queryTransformer) |
InterceptorHolder(QueryExecutionListener listener,
QueryTransformer queryTransformer,
ParameterTransformer parameterTransformer) |
| Modifier and Type | Method and Description |
|---|---|
ProxyDataSourceBuilder |
ProxyDataSourceBuilder.listener(QueryExecutionListener listener)
Register given listener.
|
void |
ProxyDataSource.setListener(QueryExecutionListener listener)
Set
QueryExecutionListener with default(NoOp) QueryTransformer. |
Copyright © 2015. All rights reserved.