Class AllowUnusedBindingsFactory
java.lang.Object
org.jdbi.v3.sqlobject.customizer.internal.AllowUnusedBindingsFactory
- All Implemented Interfaces:
SqlStatementCustomizerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateForMethod
(Annotation annotation, Class<?> sqlObjectType, Method method) Used to create customizers for annotations on methods.createForType
(Annotation annotation, Class<?> sqlObjectType) Used to create customizers for annotations on sql object interfacesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
createForParameter
-
Constructor Details
-
AllowUnusedBindingsFactory
public AllowUnusedBindingsFactory()
-
-
Method Details
-
createForMethod
public SqlStatementCustomizer createForMethod(Annotation annotation, Class<?> sqlObjectType, Method method) Description copied from interface:SqlStatementCustomizerFactory
Used to create customizers for annotations on methods.- Specified by:
createForMethod
in 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
Description copied from interface:SqlStatementCustomizerFactory
Used to create customizers for annotations on sql object interfaces- Specified by:
createForType
in 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
-