Interface ExtensionConfigurer

All Known Subinterfaces:
Configurer
All Known Implementing Classes:
SimpleExtensionConfigurer

@Alpha public interface ExtensionConfigurer
Configures 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 Details

    • configureForType

      default void configureForType(ConfigRegistry config, Annotation annotation, Class<?> extensionType)
      Updates 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
    • configureForMethod

      default 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