Class NotifierConfig
java.lang.Object
com.almis.awe.notifier.autoconfigure.NotifierConfig
@Configuration
@EnableConfigurationProperties(NotifierConfigProperties.class)
public class NotifierConfig
extends Object
Notifier module configuration
-
Constructor Summary
ConstructorsConstructorDescriptionNotifierConfig
(org.springframework.core.env.Environment environment) Autowired constructor -
Method Summary
Modifier and TypeMethodDescriptionnotifierService
(QueryService queryService, MaintainService maintainService, BroadcastService broadcastService, com.fasterxml.jackson.databind.ObjectMapper mapper) Notifier service
-
Constructor Details
-
NotifierConfig
@Autowired public NotifierConfig(org.springframework.core.env.Environment environment) Autowired constructor- Parameters:
environment
- Environment
-
-
Method Details
-
notifierService
@Bean public NotifierService notifierService(QueryService queryService, MaintainService maintainService, BroadcastService broadcastService, com.fasterxml.jackson.databind.ObjectMapper mapper) Notifier service- Parameters:
queryService
- Query servicemaintainService
- Maintain servicebroadcastService
- Broadcast servicemapper
- Object mapper- Returns:
- Notifier service
-