Class JdbcEventPublicationAutoConfiguration
java.lang.Object
org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- All Implemented Interfaces:
EventPublicationConfigurationExtension
@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(EventPublicationAutoConfiguration.class)
@EnableConfigurationProperties(JdbcConfigurationProperties.class)
class JdbcEventPublicationAutoConfiguration
extends Object
implements EventPublicationConfigurationExtension
- Author:
- Dmitry Belyaev, Björn Kieling, Oliver Drotbohm, Raed Ben Hamouda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DatabaseSchemaInitializer
databaseSchemaInitializer
(DataSource dataSource, ResourceLoader resourceLoader, DatabaseType databaseType, JdbcTemplate jdbcTemplate, JdbcConfigurationProperties properties) (package private) DatabaseType
databaseType
(DataSource dataSource) (package private) JdbcEventPublicationRepository
jdbcEventPublicationRepository
(JdbcTemplate jdbcTemplate, EventSerializer serializer, DatabaseType databaseType, JdbcConfigurationProperties properties)
-
Constructor Details
-
JdbcEventPublicationAutoConfiguration
JdbcEventPublicationAutoConfiguration()
-
-
Method Details
-
databaseType
-
jdbcEventPublicationRepository
@Bean JdbcEventPublicationRepository jdbcEventPublicationRepository(JdbcTemplate jdbcTemplate, EventSerializer serializer, DatabaseType databaseType, JdbcConfigurationProperties properties) -
databaseSchemaInitializer
@Bean @ConditionalOnProperty(name="spring.modulith.events.jdbc.schema-initialization.enabled", havingValue="true") DatabaseSchemaInitializer databaseSchemaInitializer(DataSource dataSource, ResourceLoader resourceLoader, DatabaseType databaseType, JdbcTemplate jdbcTemplate, JdbcConfigurationProperties properties)
-