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
ConstructorDescriptionJacksonEventSerializationConfiguration
(ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> mapper, ApplicationContext context) Creates a newJacksonEventSerializationConfiguration
for the givenObjectMapper
andApplicationContext
. -
Method Summary
-
Constructor Details
-
JacksonEventSerializationConfiguration
public JacksonEventSerializationConfiguration(ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> mapper, ApplicationContext context) Creates a newJacksonEventSerializationConfiguration
for the givenObjectMapper
andApplicationContext
.- Parameters:
mapper
- must not be null.context
- must not be null.
-
-
Method Details
-
jacksonEventSerializer
-