Package org.jdbi.v3.sqlobject.internal
Class CreateSqlObjectHandler
- java.lang.Object
-
- org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler
-
- All Implemented Interfaces:
ExtensionHandler
public class CreateSqlObjectHandler extends java.lang.Object implements ExtensionHandler
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Methodmethod-
Fields inherited from interface org.jdbi.v3.core.extension.ExtensionHandler
EQUALS_HANDLER, HASHCODE_HANDLER, NULL_HANDLER
-
-
Constructor Summary
Constructors Constructor Description CreateSqlObjectHandler(java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(HandleSupplier handleSupplier, java.lang.Object target, java.lang.Object... args)Gets invoked to return a value for the method that this handler was bound to.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.core.extension.ExtensionHandler
warm
-
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(HandleSupplier handleSupplier, java.lang.Object target, java.lang.Object... args) throws java.lang.Exception
Description copied from interface:ExtensionHandlerGets invoked to return a value for the method that this handler was bound to.- Specified by:
invokein interfaceExtensionHandler- Parameters:
handleSupplier- AHandleSupplierinstance for accessing the handle and its related objectstarget- The target object on which the handler should operateargs- Optional arguments for the handler- Returns:
- The return value for the method that was bound to the extension handler. Can be null
- Throws:
java.lang.Exception- Any exception from the underlying code
-
-