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