public class SqlMethodAnnotatedHandlerDecorator extends Object implements HandlerDecorator
decorating annotations
present on the method. If multiple decorating annotations are present, the order of application can be controlled
using the DecoratorOrder annotation.
This decorator is registered out of the box.
| Constructor and Description |
|---|
SqlMethodAnnotatedHandlerDecorator() |
| Modifier and Type | Method and Description |
|---|---|
Handler |
decorateHandler(Handler base,
Class<?> sqlObjectType,
Method method)
Decorates the
Handler to add or substitute behavior on the given SQL Object method. |
public Handler decorateHandler(Handler base, Class<?> sqlObjectType, Method method)
HandlerDecoratorHandler to 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.decorateHandler in interface HandlerDecoratorbase - the base handler to decoratesqlObjectType - the SQL Object typemethod - the method to be decoratedCopyright © 2017. All rights reserved.