Class ScheduledEventConfiguration
java.lang.Object
es.kukenan.smartfi.events.scheduled.spring.ScheduledEventConfiguration
@Configuration
@ConditionalOnClass(es.kukenan.smartfi.common.utils.CustomObjectMapper.class)
public class ScheduledEventConfiguration
extends Object
A configuration bean of this class is automatically created during spring boot application startup. It is designed to create some beans when this
library is added as dependency in the project, without explicit declaration. This makes easier to configure applications that depends on this
project beans and configurations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscheduledEventParser(CustomObjectMapper customObjectMapper) Schedule events parser bean.
-
Constructor Details
-
ScheduledEventConfiguration
public ScheduledEventConfiguration()
-
-
Method Details
-
scheduledEventParser
@Bean public ScheduledEventParser scheduledEventParser(@Autowired CustomObjectMapper customObjectMapper) Schedule events parser bean.- Parameters:
customObjectMapper- the jackson parser used to transform JSONCustomObjectMapper.- Returns:
- Schedule events parser bean
ScheduledEventParser.
-