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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DatabaseSchemaInitializer
databaseSchemaInitializer
(DataSource dataSource, ResourceLoader resourceLoader, DatabaseType databaseType, JdbcTemplate jdbcTemplate, JdbcRepositorySettings settings) (package private) DatabaseType
databaseType
(DataSource dataSource) (package private) JdbcEventPublicationRepository
jdbcEventPublicationRepository
(JdbcTemplate jdbcTemplate, EventSerializer serializer, JdbcRepositorySettings settings) (package private) JdbcRepositorySettings
jdbcEventPublicationRepositorySettings
(DatabaseType databaseType, JdbcConfigurationProperties properties)
-
Field Details
-
environment
-
-
Constructor Details
-
JdbcEventPublicationAutoConfiguration
JdbcEventPublicationAutoConfiguration()
-
-
Method Details
-
databaseType
-
jdbcEventPublicationRepositorySettings
@Bean JdbcRepositorySettings jdbcEventPublicationRepositorySettings(DatabaseType databaseType, JdbcConfigurationProperties properties) -
jdbcEventPublicationRepository
@Bean JdbcEventPublicationRepository jdbcEventPublicationRepository(JdbcTemplate jdbcTemplate, EventSerializer serializer, JdbcRepositorySettings settings) -
databaseSchemaInitializer
@Bean @ConditionalOnProperty(name="spring.modulith.events.jdbc.schema-initialization.enabled", havingValue="true") DatabaseSchemaInitializer databaseSchemaInitializer(DataSource dataSource, ResourceLoader resourceLoader, DatabaseType databaseType, JdbcTemplate jdbcTemplate, JdbcRepositorySettings settings)
-