Class GoogleJacksonConfiguration
java.lang.Object
io.micronaut.gcp.function.http.jackson.GoogleJacksonConfiguration
- All Implemented Interfaces:
io.micronaut.context.event.BeanCreatedEventListener<io.micronaut.jackson.JacksonConfiguration>
,EventListener
@Requires(classes=io.micronaut.jackson.JacksonConfiguration.class)
@Singleton
public class GoogleJacksonConfiguration
extends Object
implements io.micronaut.context.event.BeanCreatedEventListener<io.micronaut.jackson.JacksonConfiguration>
Disables module scan for Jackson which is slow in function context.
- Since:
- 1.2.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.jackson.JacksonConfiguration
onCreated
(io.micronaut.context.event.BeanCreatedEvent<io.micronaut.jackson.JacksonConfiguration> event)
-
Constructor Details
-
GoogleJacksonConfiguration
public GoogleJacksonConfiguration()
-
-
Method Details
-
onCreated
public io.micronaut.jackson.JacksonConfiguration onCreated(io.micronaut.context.event.BeanCreatedEvent<io.micronaut.jackson.JacksonConfiguration> event) - Specified by:
onCreated
in interfaceio.micronaut.context.event.BeanCreatedEventListener<io.micronaut.jackson.JacksonConfiguration>
-