Class HandlerDecorators

    • Field Detail

      • decorators

        private final java.util.List<HandlerDecorator> decorators
        Deprecated.
    • Constructor Detail

      • HandlerDecorators

        public HandlerDecorators()
        Deprecated.
      • HandlerDecorators

        private HandlerDecorators​(HandlerDecorators that)
        Deprecated.
    • Method Detail

      • register

        public HandlerDecorators register​(HandlerDecorator decorator)
        Deprecated.
        Registers the given handler decorator with the registry.
        Parameters:
        decorator - the decorator to register
        Returns:
        this
      • applyDecorators

        public Handler applyDecorators​(Handler base,
                                       java.lang.Class<?> sqlObjectType,
                                       java.lang.reflect.Method method)
        Deprecated.
        Applies all registered decorators to the given handler
        Parameters:
        base - the base handler
        sqlObjectType - the SQL object type
        method - the SQL method to be decorated
        Returns:
        the decorated handler
      • createCopy

        public HandlerDecorators createCopy()
        Deprecated.
        Description copied from interface: JdbiConfig
        Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.
        Specified by:
        createCopy in interface JdbiConfig<HandlerDecorators>
        Returns:
        a copy of this configuration object.