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 Summary
ConstructorsConstructorDescriptionJacksonEventSerializationConfiguration(ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> mapper, ApplicationContext context) Creates a newJacksonEventSerializationConfigurationfor the givenObjectMapperandApplicationContext. -
Method Summary
-
Constructor Details
-
JacksonEventSerializationConfiguration
public 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
-