Class CreateSqlObjectHandler

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

public class CreateSqlObjectHandler extends Object implements ExtensionHandler
  • Field Details

    • method

      private final Method method
  • Constructor Details

    • CreateSqlObjectHandler

      public CreateSqlObjectHandler(Method method)
  • Method Details

    • invoke

      public Object invoke(HandleSupplier handleSupplier, Object target, Object... args) throws Exception
      Description copied from interface: ExtensionHandler
      Gets invoked to return a value for the method that this handler was bound to.
      Specified by:
      invoke in interface ExtensionHandler
      Parameters:
      handleSupplier - A HandleSupplier instance for accessing the handle and its related objects
      target - The target object on which the handler should operate
      args - Optional arguments for the handler
      Returns:
      The return value for the method that was bound to the extension handler. Can be null
      Throws:
      Exception - Any exception from the underlying code