Package org.jdbi.v3.sqlobject
Interface Handler
- All Superinterfaces:
ExtensionHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
Implements the contract of a SQL Object method.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.extension.ExtensionHandler
ExtensionHandler.ExtensionHandlerFactory -
Field Summary
Fields inherited from interface org.jdbi.v3.core.extension.ExtensionHandler
EQUALS_HANDLER, HASHCODE_HANDLER, NULL_HANDLER -
Method Summary
Modifier and TypeMethodDescriptioninvoke(Object target, Object[] args, HandleSupplier handleSupplier) Deprecated.Executes a SQL Object method, and returns the result.default Objectinvoke(HandleSupplier handleSupplier, Object target, Object... args) Deprecated.Methods inherited from interface org.jdbi.v3.core.extension.ExtensionHandler
warm
-
Method Details
-
invoke
Deprecated.Executes a SQL Object method, and returns the result.- Parameters:
target- the SQL Object instance being invokedargs- the arguments that were passed to the method.handleSupplier- 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.
-
invoke
default Object invoke(HandleSupplier handleSupplier, Object target, Object... args) throws Exception Deprecated.- Specified by:
invokein interfaceExtensionHandler- Throws:
Exception
-
ExtensionHandlerdirectly.