接口 ConfigurableWebServerApplicationContext
- 所有超级接口:
ApplicationContext,ApplicationEventPublisher,AutoCloseable,BeanFactory,Closeable,ConfigurableApplicationContext,EnvironmentCapable,HierarchicalBeanFactory,Lifecycle,ListableBeanFactory,MessageSource,ResourceLoader,ResourcePatternResolver,WebServerApplicationContext
- 所有已知实现类:
AnnotationConfigReactiveWebServerApplicationContext,AnnotationConfigServletWebServerApplicationContext,ReactiveWebServerApplicationContext,ServletWebServerApplicationContext,XmlServletWebServerApplicationContext
public interface ConfigurableWebServerApplicationContext
extends 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.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
字段概要
从接口继承的字段 org.springframework.beans.factory.BeanFactory
FACTORY_BEAN_PREFIX, FACTORY_BEAN_PREFIX_CHAR从接口继承的字段 org.springframework.context.ConfigurableApplicationContext
APPLICATION_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_NAME从接口继承的字段 org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX从接口继承的字段 org.springframework.core.io.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX -
方法概要
修饰符和类型方法说明voidsetServerNamespace(String serverNamespace) Set the server namespace of the context.从接口继承的方法 org.springframework.context.ApplicationContext
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate从接口继承的方法 org.springframework.context.ApplicationEventPublisher
publishEvent, publishEvent从接口继承的方法 org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch从接口继承的方法 org.springframework.context.ConfigurableApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getApplicationStartup, getBeanFactory, getEnvironment, isActive, isClosed, refresh, registerShutdownHook, removeApplicationListener, setApplicationStartup, setClassLoader, setEnvironment, setId, setParent从接口继承的方法 org.springframework.beans.factory.HierarchicalBeanFactory
containsLocalBean, getParentBeanFactory从接口继承的方法 org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, findAllAnnotationsOnBean, findAnnotationOnBean, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotation从接口继承的方法 org.springframework.context.MessageSource
getMessage, getMessage, getMessage从接口继承的方法 org.springframework.core.io.ResourceLoader
getClassLoader, getResource从接口继承的方法 org.springframework.core.io.support.ResourcePatternResolver
getResources从接口继承的方法 org.springframework.boot.web.context.WebServerApplicationContext
getServerNamespace, getWebServer
-
方法详细资料
-
setServerNamespace
Set the server namespace of the context.- 参数:
serverNamespace- the server namespace- 另请参阅:
-