public final class HandlerUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
configureWithContext(io.micronaut.context.ApplicationContextProvider applicationContextProvider,
com.amazonaws.services.lambda.runtime.Context lambdaContext)
It uses
LambdaContextFactory to registers Lambda Context beans as singletons in the bean context. |
public static void configureWithContext(@NonNull io.micronaut.context.ApplicationContextProvider applicationContextProvider, @Nullable com.amazonaws.services.lambda.runtime.Context lambdaContext)
LambdaContextFactory
to registers Lambda Context beans as singletons in the bean context.
It uses DiagnosticInfoPopulator
to populate the MDC context with Lambda Context values.applicationContextProvider
- Application Context ProviderlambdaContext
- Lambda Context