Interface ConfigurableWebServerApplicationContext
- All Superinterfaces:
- org.springframework.context.ApplicationContext,- org.springframework.context.ApplicationEventPublisher,- AutoCloseable,- org.springframework.beans.factory.BeanFactory,- Closeable,- org.springframework.context.ConfigurableApplicationContext,- org.springframework.core.env.EnvironmentCapable,- org.springframework.beans.factory.HierarchicalBeanFactory,- org.springframework.context.Lifecycle,- org.springframework.beans.factory.ListableBeanFactory,- org.springframework.context.MessageSource,- org.springframework.core.io.ResourceLoader,- org.springframework.core.io.support.ResourcePatternResolver,- WebServerApplicationContext
- All Known Implementing Classes:
- AnnotationConfigReactiveWebServerApplicationContext,- AnnotationConfigServletWebServerApplicationContext,- ReactiveWebServerApplicationContext,- ServletWebServerApplicationContext,- XmlServletWebServerApplicationContext
public interface ConfigurableWebServerApplicationContext
extends org.springframework.context.ConfigurableApplicationContext, WebServerApplicationContext
SPI interface to be implemented by most if not all 
web server application contexts. Provides facilities to configure the context, in
 addition to the methods in the {WebServerApplicationContext} interface.- Since:
- 2.0.0
- 
Field SummaryFields inherited from interface org.springframework.beans.factory.BeanFactoryFACTORY_BEAN_PREFIX, FACTORY_BEAN_PREFIX_CHARFields inherited from interface org.springframework.context.ConfigurableApplicationContextAPPLICATION_STARTUP_BEAN_NAME, BOOTSTRAP_EXECUTOR_BEAN_NAME, CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SHUTDOWN_HOOK_THREAD_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAMEFields inherited from interface org.springframework.core.io.ResourceLoaderCLASSPATH_URL_PREFIXFields inherited from interface org.springframework.core.io.support.ResourcePatternResolverCLASSPATH_ALL_URL_PREFIX
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetServerNamespace(String serverNamespace) Set the server namespace of the context.Methods inherited from interface org.springframework.context.ApplicationContextgetApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDateMethods inherited from interface org.springframework.context.ApplicationEventPublisherpublishEvent, publishEventMethods inherited from interface org.springframework.beans.factory.BeanFactorycontainsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatchMethods inherited from interface org.springframework.context.ConfigurableApplicationContextaddApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getApplicationStartup, getBeanFactory, getEnvironment, isActive, isClosed, refresh, registerShutdownHook, removeApplicationListener, setApplicationStartup, setClassLoader, setEnvironment, setId, setParentMethods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactorycontainsLocalBean, getParentBeanFactoryMethods inherited from interface org.springframework.context.LifecycleisRunning, start, stopMethods inherited from interface org.springframework.beans.factory.ListableBeanFactorycontainsBeanDefinition, findAllAnnotationsOnBean, findAnnotationOnBean, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotationMethods inherited from interface org.springframework.context.MessageSourcegetMessage, getMessage, getMessageMethods inherited from interface org.springframework.core.io.ResourceLoadergetClassLoader, getResourceMethods inherited from interface org.springframework.core.io.support.ResourcePatternResolvergetResourcesMethods inherited from interface org.springframework.boot.web.context.WebServerApplicationContextgetServerNamespace, getWebServer
- 
Method Details- 
setServerNamespaceSet the server namespace of the context.- Parameters:
- serverNamespace- the server namespace
- See Also:
 
 
-