Central class to extend to provide Spring support for your AWS Lambda
applications. The key to using this class is to implement the
ApplicationContextProvider.getApplicationContext() method and supply a
valid
ApplicationContext instance. Your child class that extends
this class will be the entry point (handler) to your AWS Lambda function.
The handleRequest(Object, Context) method is
left virtual so it can be overridden, but the default implementation should
work for most use cases. It simply grabs a bean of type
RequestHandler and calls that class's
RequestHandler.handleRequest(Object, Context) method. In this sense,
this class is just a wrapper around your implementation of
RequestHandler, but allows your implementation to take advantage of
Spring's core features (dependency injection, etc).