Class ServerlessAutoConfiguration.ServerlessServletWebServerFactory
java.lang.Object
org.springframework.cloud.function.serverless.web.ServerlessAutoConfiguration.ServerlessServletWebServerFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.boot.web.server.servlet.ServletWebServerFactory, org.springframework.boot.web.server.WebServerFactory, org.springframework.context.ApplicationContextAware
- Enclosing class:
ServerlessAutoConfiguration
public static class ServerlessAutoConfiguration.ServerlessServletWebServerFactory
extends Object
implements org.springframework.boot.web.server.servlet.ServletWebServerFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- Since:
- 4.x
- Author:
- Oleg Zhurakousky
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.boot.web.server.WebServergetWebServer(org.springframework.boot.web.servlet.ServletContextInitializer... initializers) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ServerlessServletWebServerFactory
public ServerlessServletWebServerFactory()
-
-
Method Details
-
getWebServer
public org.springframework.boot.web.server.WebServer getWebServer(org.springframework.boot.web.servlet.ServletContextInitializer... initializers) - Specified by:
getWebServerin interfaceorg.springframework.boot.web.server.servlet.ServletWebServerFactory
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
-