public class JdbcLifecycleEventExecutionListener extends Object implements MethodExecutionListener, QueryExecutionListener
JdbcLifecycleEventListener and adapt it to MethodExecutionListener and QueryExecutionListener.DEFAULTDEFAULT| Constructor and Description |
|---|
JdbcLifecycleEventExecutionListener(JdbcLifecycleEventListener delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod(MethodExecutionContext executionContext) |
void |
afterQuery(ExecutionInfo execInfo,
List<QueryInfo> queryInfoList) |
void |
beforeMethod(MethodExecutionContext executionContext) |
void |
beforeQuery(ExecutionInfo execInfo,
List<QueryInfo> queryInfoList) |
JdbcLifecycleEventListener |
getDelegate() |
void |
setDelegate(JdbcLifecycleEventListener delegate) |
public JdbcLifecycleEventExecutionListener(JdbcLifecycleEventListener delegate)
public void beforeMethod(MethodExecutionContext executionContext)
beforeMethod in interface MethodExecutionListenerpublic void afterMethod(MethodExecutionContext executionContext)
afterMethod in interface MethodExecutionListenerpublic void beforeQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
beforeQuery in interface QueryExecutionListenerpublic void afterQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
afterQuery in interface QueryExecutionListenerpublic void setDelegate(JdbcLifecycleEventListener delegate)
public JdbcLifecycleEventListener getDelegate()
Copyright © 2022. All rights reserved.