@Configuration(value="mongoDbEventsConfiguration") @EnableConfigurationProperties(value=CasConfigurationProperties.class) public class MongoDbEventsConfiguration extends java.lang.Object
MongoDbEventsConfiguration
, defines certain beans via configuration
while delegating some to Spring namespaces inside the context config file.Constructor and Description |
---|
MongoDbEventsConfiguration() |
Modifier and Type | Method and Description |
---|---|
CasEventRepository |
casEventRepository() |
org.springframework.data.mongodb.core.MongoTemplate |
mongoEventsTemplate() |
org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor |
persistenceExceptionTranslationPostProcessor() |
@RefreshScope @Bean public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor()
@RefreshScope @Bean public org.springframework.data.mongodb.core.MongoTemplate mongoEventsTemplate()
@Bean public CasEventRepository casEventRepository()