Class R2dbcCloudSqlEnvironmentPostProcessor
java.lang.Object
com.google.cloud.spring.autoconfigure.sql.R2dbcCloudSqlEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
public class R2dbcCloudSqlEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor
Builds connection string for Cloud SQL through Spring R2DBC by requiring only a database and
instance connection name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
R2dbcCloudSqlEnvironmentPostProcessor
public R2dbcCloudSqlEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-