Class AwsSpringAotTypesProcessor

java.lang.Object
com.amazonaws.serverless.proxy.spring.AwsSpringAotTypesProcessor
All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor

public class AwsSpringAotTypesProcessor extends Object implements org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
AOT Initialization processor required to register reflective hints for GraalVM. This is necessary to ensure proper JSON serialization/deserialization. It is registered with META-INF/spring/aot.factories
Author:
Oleg Zhurakousky
  • Constructor Details

    • AwsSpringAotTypesProcessor

      public AwsSpringAotTypesProcessor()
  • Method Details

    • processAheadOfTime

      public org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution processAheadOfTime(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      Specified by:
      processAheadOfTime in interface org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor