Package org.jdbi.v3.sqlobject.internal
Class SqlObjectInitData
java.lang.Object
org.jdbi.v3.sqlobject.internal.SqlObjectInitData
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSqlObjectInitData
(Class<?> extensionType, UnaryOperator<ConfigRegistry> instanceConfigurer, Map<Method, UnaryOperator<ConfigRegistry>> methodConfigurers, Map<Method, Handler> methodHandlers) -
Method Summary
Modifier and TypeMethodDescriptionconfigureInstance
(ConfigRegistry config) Class<?>
void
forEachMethodHandler
(BiConsumer<Method, Handler> action) static SqlObjectInitData
initData()
<E> E
instantiate
(Class<E> passExtensionType, HandleSupplier handle, ConfigRegistry instanceConfig) boolean
static boolean
isConcrete
(Class<?> extensionType) lazyInvoker
(Object target, Method method, HandleSupplier handle, ConfigRegistry instanceConfig) static Method
lookupMethod
(String methodName, Class<?>... parameterTypes)
-
Field Details
-
INIT_DATA
-
-
Constructor Details
-
SqlObjectInitData
public SqlObjectInitData(Class<?> extensionType, UnaryOperator<ConfigRegistry> instanceConfigurer, Map<Method, UnaryOperator<ConfigRegistry>> methodConfigurers, Map<Method, Handler> methodHandlers)
-
-
Method Details
-
isConcrete
-
initData
-
lookupMethod
-
isConcrete
public boolean isConcrete() -
extensionType
-
instantiate
public <E> E instantiate(Class<E> passExtensionType, HandleSupplier handle, ConfigRegistry instanceConfig) -
configureInstance
-
forEachMethodHandler
-
lazyInvoker
public Supplier<SqlObjectInitData.InContextInvoker> lazyInvoker(Object target, Method method, HandleSupplier handle, ConfigRegistry instanceConfig)
-