Package io.micronaut.configuration.jooq
Class AbstractJooqConfigurationFactory
- java.lang.Object
-
- io.micronaut.configuration.jooq.AbstractJooqConfigurationFactory
-
- Direct Known Subclasses:
JooqConfigurationFactory
,R2dbcJooqConfigurationFactory
public class AbstractJooqConfigurationFactory extends java.lang.Object
Sets up jOOQ library integration.- Since:
- 1.2.0
- Author:
- Vladimir Kulev
-
-
Constructor Summary
Constructors Constructor Description AbstractJooqConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultConfiguration
jooqConfiguration(java.lang.String name, TransactionProvider transactionProvider, Settings settings, ExecutorProvider executorProvider, RecordMapperProvider recordMapperProvider, RecordUnmapperProvider recordUnmapperProvider, MetaProvider metaProvider, ConverterProvider converterProvider, io.micronaut.configuration.jooq.AbstractJooqConfigurationProperties properties, io.micronaut.context.ApplicationContext ctx)
Creates jOOQConfiguration
.
-
-
-
Method Detail
-
jooqConfiguration
protected DefaultConfiguration jooqConfiguration(@Parameter java.lang.String name, @Parameter @Nullable TransactionProvider transactionProvider, @Parameter @Nullable Settings settings, @Parameter @Nullable ExecutorProvider executorProvider, @Parameter @Nullable RecordMapperProvider recordMapperProvider, @Parameter @Nullable RecordUnmapperProvider recordUnmapperProvider, @Parameter @Nullable MetaProvider metaProvider, @Parameter @Nullable ConverterProvider converterProvider, io.micronaut.configuration.jooq.AbstractJooqConfigurationProperties properties, io.micronaut.context.ApplicationContext ctx)
Creates jOOQConfiguration
. It will configure it with available jOOQ provider beans with the same qualifier.- Parameters:
name
- The data source nametransactionProvider
- The transaction providersettings
- The settingsexecutorProvider
- The executor providerrecordMapperProvider
- The record mapper providerrecordUnmapperProvider
- The record unmapper providermetaProvider
- The metadata providerconverterProvider
- The converter providerproperties
- The propertiesctx
- TheApplicationContext
- Returns:
- A
Configuration
-
-