Class TransactionDecorator
- java.lang.Object
-
- org.jdbi.v3.sqlobject.transaction.internal.TransactionDecorator
-
- All Implemented Interfaces:
HandlerDecorator
public class TransactionDecorator extends Object implements HandlerDecorator
-
-
Constructor Summary
Constructors Constructor Description TransactionDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlerdecorateHandler(Handler base, Class<?> sqlObjectType, Method method)Decorates theHandlerto add or substitute behavior on the given SQL Object method.
-
-
-
Method Detail
-
decorateHandler
public Handler decorateHandler(Handler base, Class<?> sqlObjectType, Method method)
Description copied from interface:HandlerDecoratorDecorates theHandlerto add or substitute behavior on the given SQL Object method. Implementations may alternatively return the base handler, e.g. if the conditions for applying a particular decoration are not met.- Specified by:
decorateHandlerin interfaceHandlerDecorator- Parameters:
base- the base handler to decoratesqlObjectType- the SQL Object typemethod- the method to be decorated- Returns:
- the base handle, or a decorated handler (depending on the decorator implementation).
-
-