Package org.jdbi.v3.sqlobject
Class SqlObjectCustomizerFactory
java.lang.Object
org.jdbi.v3.sqlobject.SqlObjectCustomizerFactory
- All Implemented Interfaces:
ConfigCustomizerFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection<ConfigCustomizer>buildConfigCustomizer(Stream<AnnotatedElement> elements, SqlObjectCustomizerFactory.ConfigurerMethod consumer) forExtensionMethod(Class<?> sqlObjectType, Method method) Creates a collection ofConfigCustomizerinstances for an extension type method.forExtensionType(Class<?> sqlObjectType) Creates a collection ofConfigCustomizerinstances for an extension type.
-
Field Details
-
FACTORY
-
-
Constructor Details
-
SqlObjectCustomizerFactory
SqlObjectCustomizerFactory()
-
-
Method Details
-
forExtensionType
Description copied from interface:ConfigCustomizerFactoryCreates a collection ofConfigCustomizerinstances for an extension type.- Specified by:
forExtensionTypein interfaceConfigCustomizerFactory- Parameters:
sqlObjectType- The extension type- Returns:
- A
CollectionofConfigCustomizerobjects. Must not be null
-
forExtensionMethod
Description copied from interface:ConfigCustomizerFactoryCreates a collection ofConfigCustomizerinstances for an extension type method.- Specified by:
forExtensionMethodin interfaceConfigCustomizerFactory- Parameters:
sqlObjectType- The extension typemethod- The method on the extension type- Returns:
- A
CollectionofConfigCustomizerobjects. Must not be null
-
buildConfigCustomizer
private static Collection<ConfigCustomizer> buildConfigCustomizer(Stream<AnnotatedElement> elements, SqlObjectCustomizerFactory.ConfigurerMethod consumer)
-