Class R2dbcConfigurationUtils
java.lang.Object
io.micronaut.starter.feature.database.r2dbc.R2dbcConfigurationUtils
Utility base class for R2DBC features that provides common functionality
for adding database-specific R2DBC configuration recipes based on the
selected database driver feature in the generator context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDatabaseConfigRecipe
(GeneratorContext generatorContext, List<String> recipes) Adds a database-specific R2DBC configuration recipe to the given list of recipes based on the selected database driver feature in the generator context.
-
Constructor Details
-
R2dbcConfigurationUtils
public R2dbcConfigurationUtils()
-
-
Method Details
-
addDatabaseConfigRecipe
Adds a database-specific R2DBC configuration recipe to the given list of recipes based on the selected database driver feature in the generator context. The recipe is determined by checking the presence of specific database driver features in the generator context.- Parameters:
generatorContext
- the generator context to check for database driver featuresrecipes
- the list of recipes to add the database-specific R2DBC configuration recipe to
-