@FunctionalInterface public interface Handler
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object target,
Object[] args,
HandleSupplier handle)
Executes a SQL Object method, and returns the result.
|
default void |
warm(ConfigRegistry config)
Called after the method handler is constructed to pre-initialize any important
configuration data structures.
|
Object invoke(Object target, Object[] args, HandleSupplier handle) throws Exception
target - the SQL Object instance being invokedargs - the arguments that were passed to the method.handle - a (possibly lazy) Handle supplier.Exception - any exception thrown by the method.@Beta default void warm(ConfigRegistry config)
config - the method configuration to warmCopyright © 2020. All rights reserved.