Class JdbcConfigurationProperties
java.lang.Object
org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
@ConfigurationProperties(prefix="spring.modulith.events.jdbc")
class JdbcConfigurationProperties
extends Object
Configuration properties for JDBC.
- Author:
- Raed Ben Hamouda, Oliver Drotbohm
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Constructor Summary
ConstructorDescriptionJdbcConfigurationProperties
(JdbcConfigurationProperties.SchemaInitialization schemaInitialization, String schema) Creates a newJdbcConfigurationProperties
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the schema where the event publication table resides.Whether to initialize the JDBC event publication schema.(package private) void
verify
(DatabaseType databaseType)
-
Constructor Details
-
JdbcConfigurationProperties
@ConstructorBinding JdbcConfigurationProperties(JdbcConfigurationProperties.SchemaInitialization schemaInitialization, @Nullable String schema) Creates a newJdbcConfigurationProperties
instance.- Parameters:
schemaInitialization
- whether to initialize the JDBC event publication schema. Defaults to false.schema
- the schema name of event publication table, can be null.
-
-
Method Details
-
getSchemaInitialization
Whether to initialize the JDBC event publication schema. -
getSchema
The name of the schema where the event publication table resides.- Returns:
- can be null.
-
verify
-