Package org.jdbi.v3.core.extension
Interface ExtensionConfigurer
- All Known Subinterfaces:
- Configurer
- All Known Implementing Classes:
- SimpleExtensionConfigurer
Configures 
Instances of this interface update the configuration used to execute a specific method e.g. to register row mapper needed for the execution of the underlying ExtensionHandler.
ConfigRegistry instances. Implementation classes
 are referenced from annotations that are marked with the UseExtensionConfigurer annotation.
 Instances of this interface update the configuration used to execute a specific method e.g. to register row mapper needed for the execution of the underlying ExtensionHandler.
- Since:
- 3.38.0
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidconfigureForMethod(ConfigRegistry config, Annotation annotation, Class<?> extensionType, Method method) Configures the config for the given annotation on a extension type method.default voidconfigureForType(ConfigRegistry config, Annotation annotation, Class<?> extensionType) Updates configuration for the given annotation on an extension type.
- 
Method Details- 
configureForTypeUpdates configuration for the given annotation on an extension type.- Parameters:
- config- the config to configure
- annotation- the annotation
- extensionType- the extension type which was annotated
 
- 
configureForMethoddefault void configureForMethod(ConfigRegistry config, Annotation annotation, Class<?> extensionType, Method method) Configures the config for the given annotation on a extension type method.- Parameters:
- config- the config to configure
- annotation- the annotation
- extensionType- the extension type
- method- the method which was annotated
 
 
-