Package org.jdbi.v3.core.extension
Class SimpleExtensionConfigurer
- java.lang.Object
-
- org.jdbi.v3.core.extension.SimpleExtensionConfigurer
-
- All Implemented Interfaces:
ExtensionConfigurer
- Direct Known Subclasses:
RegisterArgumentFactoriesImpl,RegisterArgumentFactoryImpl,RegisterBeanMapperImpl,RegisterBeanMappersImpl,RegisterCollectorFactoryImpl,RegisterColumnMapperFactoriesImpl,RegisterColumnMapperFactoryImpl,RegisterColumnMapperImpl,RegisterColumnMappersImpl,RegisterConstructorMapperImpl,RegisterConstructorMappersImpl,RegisterFieldMapperImpl,RegisterFieldMappersImpl,RegisterJoinRowMapperImpl,RegisterObjectArgumentFactoriesImpl,RegisterObjectArgumentFactoryImpl,RegisterRowMapperFactoriesImpl,RegisterRowMapperFactoryImpl,RegisterRowMapperImpl,RegisterRowMappersImpl,UseAnnotationSqlLocatorImpl,UseClasspathSqlLocatorImpl,UseEnumStrategyImpl,UseFreemarkerEngineImpl,UseFreemarkerSqlLocatorImpl,UseStringSubstitutorTemplateEngineImpl,UseStringTemplateEngineImpl,UseStringTemplateSqlLocatorImpl
@Alpha public abstract class SimpleExtensionConfigurer extends java.lang.Object implements ExtensionConfigurer
Configurer base class that applies the same configuration changes independent whether an annotation is placed on the type or a method.
-
-
Constructor Summary
Constructors Constructor Description SimpleExtensionConfigurer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidconfigure(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)Updates configuration for the given annotation on an extension type.voidconfigureForMethod(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType, java.lang.reflect.Method method)Configures the config for the given annotation on a extension type method.voidconfigureForType(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)Updates configuration for the given annotation on an extension type.
-
-
-
Method Detail
-
configureForType
public final void configureForType(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)
Description copied from interface:ExtensionConfigurerUpdates configuration for the given annotation on an extension type.- Specified by:
configureForTypein interfaceExtensionConfigurer- Parameters:
config- the config to configureannotation- the annotationextensionType- the extension type which was annotated
-
configureForMethod
public final void configureForMethod(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType, java.lang.reflect.Method method)
Description copied from interface:ExtensionConfigurerConfigures the config for the given annotation on a extension type method.- Specified by:
configureForMethodin interfaceExtensionConfigurer- Parameters:
config- the config to configureannotation- the annotationextensionType- the extension typemethod- the method which was annotated
-
configure
public abstract void configure(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)
Updates configuration for the given annotation on an extension type.- Parameters:
config- TheConfigRegistryobject to configureannotation- The annotation that invoked this methodextensionType- the extension type which was annotated
-
-