Class AllowUnusedBindingsFactory
- java.lang.Object
-
- org.jdbi.v3.sqlobject.customizer.internal.AllowUnusedBindingsFactory
-
- All Implemented Interfaces:
SqlStatementCustomizerFactory
public class AllowUnusedBindingsFactory extends Object implements SqlStatementCustomizerFactory
-
-
Constructor Summary
Constructors Constructor Description AllowUnusedBindingsFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlStatementCustomizercreateForMethod(Annotation annotation, Class<?> sqlObjectType, Method method)Used to create customizers for annotations on methods.SqlStatementCustomizercreateForType(Annotation annotation, Class<?> sqlObjectType)Used to create customizers for annotations on sql object interfaces-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
createForParameter
-
-
-
-
Method Detail
-
createForMethod
public SqlStatementCustomizer createForMethod(Annotation annotation, Class<?> sqlObjectType, Method method)
Description copied from interface:SqlStatementCustomizerFactoryUsed to create customizers for annotations on methods.- Specified by:
createForMethodin interfaceSqlStatementCustomizerFactory- Parameters:
annotation- the annotation which lead to the method being calledsqlObjectType- sql object class (interface)method- the method which was annotated- Returns:
- the customizer which will be applied to the generated statement
-
createForType
public SqlStatementCustomizer createForType(Annotation annotation, Class<?> sqlObjectType)
Description copied from interface:SqlStatementCustomizerFactoryUsed to create customizers for annotations on sql object interfaces- Specified by:
createForTypein interfaceSqlStatementCustomizerFactory- Parameters:
annotation- the annotation which lead to the method being calledsqlObjectType- sql object class (interface)- Returns:
- the customizer which will be applied to the generated statement
-
-