Class TransactionDecorator
- java.lang.Object
-
- org.jdbi.v3.sqlobject.transaction.internal.TransactionDecorator
-
- All Implemented Interfaces:
ExtensionHandlerCustomizer
public class TransactionDecorator extends java.lang.Object implements ExtensionHandlerCustomizer
-
-
Constructor Summary
Constructors Constructor Description TransactionDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionHandlercustomize(ExtensionHandler delegate, java.lang.Class<?> sqlObjectType, java.lang.reflect.Method method)Customize an extension handler.
-
-
-
Method Detail
-
customize
public ExtensionHandler customize(ExtensionHandler delegate, java.lang.Class<?> sqlObjectType, java.lang.reflect.Method method)
Description copied from interface:ExtensionHandlerCustomizerCustomize an extension handler.- Specified by:
customizein interfaceExtensionHandlerCustomizer- Parameters:
delegate- TheExtensionHandlerto customizesqlObjectType- The extension type classmethod- A method- Returns:
- An
ExtensionHandlerobject. This can be the same as thehandlerparameter or another instance that delegates to the original handler
-
-