Package org.jdbi.v3.core.extension
Interface ConfigCustomizerFactory
-
- All Known Implementing Classes:
SqlObjectCustomizerFactory,UseAnnotationConfigCustomizerFactory
@Alpha public interface ConfigCustomizerFactory
Factory interface to create collections ofConfigCustomizerinstances.- Since:
- 3.38.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Collection<ConfigCustomizer>forExtensionMethod(java.lang.Class<?> extensionType, java.lang.reflect.Method method)Creates a collection ofConfigCustomizerinstances for an extension type method.default java.util.Collection<ConfigCustomizer>forExtensionType(java.lang.Class<?> extensionType)Creates a collection ofConfigCustomizerinstances for an extension type.
-
-
-
Method Detail
-
forExtensionType
default java.util.Collection<ConfigCustomizer> forExtensionType(java.lang.Class<?> extensionType)
Creates a collection ofConfigCustomizerinstances for an extension type.- Parameters:
extensionType- The extension type- Returns:
- A
CollectionofConfigCustomizerobjects. Must not be null
-
forExtensionMethod
default java.util.Collection<ConfigCustomizer> forExtensionMethod(java.lang.Class<?> extensionType, java.lang.reflect.Method method)
Creates a collection ofConfigCustomizerinstances for an extension type method.- Parameters:
extensionType- The extension typemethod- The method on the extension type- Returns:
- A
CollectionofConfigCustomizerobjects. Must not be null
-
-