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
ConstructorsConstructorDescriptionAwsSpringWebCustomRuntimeEventLoop(org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext applicationContext) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-