Class Overview
A org.ofbiz.core.entity.jdbc.interceptors.SQLInterceptor that can chain together multiple
SQLInterceptors.
It will call them in an enveloping order.
eg if we add 'sqlI1' and 'sqlI2' then it will call
sqlI1.beforeExecution(..)
sqlI2.beforeExecution(..)
sqlI2.afterSuccessfulExecution(..)
sqlI1.afterSuccessfulExecution(..)
Summary
| Nested Classes |
|
class |
ChainedSQLInterceptor.Builder |
|
| Public Methods |
|
void
|
afterSuccessfulExecution(String sqlString, List<String> parameterValues, Statement statement, ResultSet resultSet, int rowsUpdated)
|
|
void
|
beforeExecution(String sqlString, List<String> parameterValues, Statement statement)
|
|
void
|
onConnectionReplaced(Connection connection, ConnectionPoolState connectionPoolState)
|
|
void
|
onConnectionTaken(Connection connection, ConnectionPoolState connectionPoolState)
|
|
void
|
onException(String sqlString, List<String> parameterValues, Statement statement, SQLException sqlException)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.ofbiz.core.entity.jdbc.interceptors.SQLInterceptor
|
From interface
org.ofbiz.core.entity.jdbc.interceptors.connection.SQLConnectionInterceptor
|
void
|
onConnectionReplaced(Connection arg0, ConnectionPoolState arg1)
|
|
void
|
onConnectionTaken(Connection arg0, ConnectionPoolState arg1)
|
|
Public Constructors
public
ChainedSQLInterceptor
(List<SQLConnectionInterceptor> interceptorsList)
Public Methods
public
void
onConnectionReplaced
(Connection connection, ConnectionPoolState connectionPoolState)
public
void
onConnectionTaken
(Connection connection, ConnectionPoolState connectionPoolState)