Interface JDBCInterceptor
-
- All Known Implementing Classes:
SQLRecoverableExceptionHandler
public interface JDBCInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JDBCInterceptor.RunnableWithSQLException
static interface
JDBCInterceptor.SupplierWithSQLException<T>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> T
get(JDBCInterceptor.SupplierWithSQLException<T> supplier)
<T> T
get(JDBCInterceptorContext ctx, JDBCInterceptor.SupplierWithSQLException<T> supplier)
default void
run(JDBCInterceptor.RunnableWithSQLException runnable)
default <T> T
wrap(T target, java.lang.Class<T> jdbcInterface)
-
-
-
Method Detail
-
wrap
default <T> T wrap(T target, java.lang.Class<T> jdbcInterface)
-
run
default void run(JDBCInterceptor.RunnableWithSQLException runnable) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
get
default <T> T get(JDBCInterceptor.SupplierWithSQLException<T> supplier) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
get
<T> T get(JDBCInterceptorContext ctx, JDBCInterceptor.SupplierWithSQLException<T> supplier) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-