Class HandlerDecorators

java.lang.Object
org.jdbi.v3.sqlobject.HandlerDecorators
All Implemented Interfaces:
org.jdbi.v3.core.config.JdbiConfig<HandlerDecorators>

@Deprecated public class HandlerDecorators extends Object implements org.jdbi.v3.core.config.JdbiConfig<HandlerDecorators>
Deprecated.
Use ExtensionHandlerCustomizer instances which are returned directly from the ExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry).
Registry for handler decorators. Decorators may modify or augment the behavior of a method Handler in some way. Out of the box, a decorator is registered which applies decorations for any decorating annotations present on a SQL method. For example, using the Transaction annotation will cause a SQL method to be executed within a transaction. Decorators are applied in the order registered, from innermost to outermost: the last registered decorator will be the outermost decorator around the method handler.