Class AwsSpringWebCustomRuntimeEventLoop

java.lang.Object
com.amazonaws.serverless.proxy.spring.AwsSpringWebCustomRuntimeEventLoop
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public final class AwsSpringWebCustomRuntimeEventLoop extends Object implements org.springframework.context.SmartLifecycle
Event loop and necessary configurations to support AWS Lambda Custom Runtime - https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html.
Author:
Oleg Zhurakousky, Mark Sailes
  • Field Summary

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    AwsSpringWebCustomRuntimeEventLoop(org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    run()
     
    void
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.SmartLifecycle

    getPhase, isAutoStartup, stop
  • Constructor Details

    • AwsSpringWebCustomRuntimeEventLoop

      public AwsSpringWebCustomRuntimeEventLoop(org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext applicationContext)
  • Method Details

    • run

      public void run()
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle