Class UsersEventsAutoConfiguration
java.lang.Object
es.kukenan.smartfi.microservice.clients.events.UsersEventsAutoConfiguration
@Configuration
@ConditionalOnClass(es.kukenan.smartfi.common.utils.CustomObjectMapper.class)
public class UsersEventsAutoConfiguration
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 TypeMethodDescriptionusersEventParser(es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapper) Users micro-service events parser.
-
Constructor Details
-
UsersEventsAutoConfiguration
public UsersEventsAutoConfiguration()
-
-
Method Details
-
usersEventParser
@Bean public UsersEventParser usersEventParser(@Autowired es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapper) Users micro-service events parser.- Parameters:
customObjectMapper- the jackson parser used to transform JSON.- Returns:
- Onboarding events parser.
-