Package org.jdbi.v3.core.extension
Class ExtensionContext
java.lang.Object
org.jdbi.v3.core.extension.ExtensionContext
Accepted by a handle when executing extension code. This temporarily reconfigures the handle to execute
 extension code. Reconfigurations are e.g. annotations from the sql objects that define mappers or bindings.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionContextforConfig(ConfigRegistry config) Create an extension context for a configuration only.static ExtensionContextforExtensionMethod(ConfigRegistry config, Class<?> type, Method method)  
- 
Constructor Details
- 
ExtensionContext
 
 - 
 - 
Method Details
- 
forConfig
Create an extension context for a configuration only. No extension method information is set.- Parameters:
 config- AConfigRegistryobject.- Returns:
 - An ExtensionContext.
 
 - 
forExtensionMethod
public static ExtensionContext forExtensionMethod(ConfigRegistry config, Class<?> type, Method method)  - 
getConfig
 - 
getExtensionMethod
 
 -