Class CreateSqlObjectHandler

java.lang.Object
org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler
All Implemented Interfaces:
Handler

public class CreateSqlObjectHandler extends Object implements Handler
  • Constructor Details

    • CreateSqlObjectHandler

      public CreateSqlObjectHandler(Method method)
  • Method Details

    • invoke

      public Object invoke(Object target, Object[] args, HandleSupplier handle) throws Exception
      Description copied from interface: Handler
      Executes a SQL Object method, and returns the result.
      Specified by:
      invoke in interface Handler
      Parameters:
      target - the SQL Object instance being invoked
      args - the arguments that were passed to the method.
      handle - a (possibly lazy) Handle supplier.
      Returns:
      the method return value, or null if the method has a void return type.
      Throws:
      Exception - any exception thrown by the method.