Class JacksonEventSerializationConfiguration
java.lang.Object
org.springframework.modulith.events.jackson.JacksonEventSerializationConfiguration
- All Implemented Interfaces:
- EventSerializationConfigurationExtension
@Configuration(proxyBeanMethods=false)
class JacksonEventSerializationConfiguration
extends Object
implements EventSerializationConfigurationExtension
Application configuration to register a Jackson-based 
EventSerializer.- Author:
- Oliver Drotbohm
- 
Constructor SummaryConstructorsConstructorDescriptionJacksonEventSerializationConfiguration(ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> mapper, ApplicationContext context) Creates a newJacksonEventSerializationConfigurationfor the givenObjectMapperandApplicationContext.
- 
Method Summary
- 
Constructor Details- 
JacksonEventSerializationConfigurationpublic JacksonEventSerializationConfiguration(ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> mapper, ApplicationContext context) Creates a newJacksonEventSerializationConfigurationfor the givenObjectMapperandApplicationContext.- Parameters:
- mapper- must not be null.
- context- must not be null.
 
 
- 
- 
Method Details- 
jacksonEventSerializer
 
-