Package org.jdbi.v3.sqlobject.internal
Class CreateSqlObjectHandler
- java.lang.Object
-
- org.jdbi.v3.sqlobject.internal.CreateSqlObjectHandler
-
-
Constructor Summary
Constructors Constructor Description CreateSqlObjectHandler(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(Object target, Object[] args, HandleSupplier handle)Executes a SQL Object method, and returns the result.
-
-
-
Constructor Detail
-
CreateSqlObjectHandler
public CreateSqlObjectHandler(Method method)
-
-
Method Detail
-
invoke
public Object invoke(Object target, Object[] args, HandleSupplier handle) throws Exception
Description copied from interface:HandlerExecutes a SQL Object method, and returns the result.- Specified by:
invokein interfaceHandler- Parameters:
target- the SQL Object instance being invokedargs- 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.
-
-