Interface HandlerFactory


  • public interface HandlerFactory
    Creates Handler objects for methods annotated with a specific SQL method annotation, which satisfy the contract of that annotation.
    See Also:
    SqlOperation
    • Method Detail

      • buildHandler

        Optional<Handler> buildHandler​(Class<?> sqlObjectType,
                                       Method method)
        Returns a Handler instance for executing the given SQL Object method.
        Parameters:
        sqlObjectType - the SQL Object type
        method - the method
        Returns:
        a handler, if applicable