Class SqlMethodAnnotatedHandlerDecorator

    • Constructor Detail

      • SqlMethodAnnotatedHandlerDecorator

        SqlMethodAnnotatedHandlerDecorator()
    • Method Detail

      • decorateHandler

        public Handler decorateHandler​(Handler delegate,
                                       java.lang.Class<?> sqlObjectType,
                                       java.lang.reflect.Method method)
        Description copied from interface: HandlerDecorator
        Decorates the Handler 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.
        Specified by:
        decorateHandler in interface HandlerDecorator
        Parameters:
        delegate - the base handler to decorate
        sqlObjectType - the SQL Object type
        method - the method to be decorated
        Returns:
        the base handle, or a decorated handler (depending on the decorator implementation).
      • createDecoratorComparator

        private java.util.Comparator<java.lang.Class<? extends java.lang.annotation.Annotation>> createDecoratorComparator​(DecoratorOrder order)