Package org.jdbi.v3.sqlobject.config
Interface Configurer
public interface Configurer
Configures
ConfigRegistry
instances to satisfy the contract of a
ConfiguringAnnotation
-annotated annotation.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) Configures the registry for the given annotation on a sql object method.default void
configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) Configures the registry for the given annotation on a sql object type.
-
Method Details
-
configureForType
default void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) Configures the registry for the given annotation on a sql object type.- Parameters:
registry
- the registry to configureannotation
- the annotationsqlObjectType
- the sql object type which was annotated
-
configureForMethod
default void configureForMethod(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) Configures the registry for the given annotation on a sql object method.- Parameters:
registry
- the registry to configureannotation
- the annotationsqlObjectType
- the sql object typemethod
- the method which was annotated
-