Class UseAnnotationSqlLocatorImpl
java.lang.Object
org.jdbi.v3.sqlobject.locator.internal.UseAnnotationSqlLocatorImpl
- All Implemented Interfaces:
Configurer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) Configures the registry for the given annotation on a sql object method.void
configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) Configures the registry for the given annotation on a sql object type.
-
Constructor Details
-
UseAnnotationSqlLocatorImpl
public UseAnnotationSqlLocatorImpl()
-
-
Method Details
-
configureForType
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) Description copied from interface:Configurer
Configures the registry for the given annotation on a sql object type.- Specified by:
configureForType
in interfaceConfigurer
- Parameters:
registry
- the registry to configureannotation
- the annotationsqlObjectType
- the sql object type which was annotated
-
configureForMethod
public void configureForMethod(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) Description copied from interface:Configurer
Configures the registry for the given annotation on a sql object method.- Specified by:
configureForMethod
in interfaceConfigurer
- Parameters:
registry
- the registry to configureannotation
- the annotationsqlObjectType
- the sql object typemethod
- the method which was annotated
-