public interface WebServerApplicationContext
extends org.springframework.context.ApplicationContext
application contexts
that
create and manage the lifecycle of an embedded WebServer
.Modifier and Type | Method and Description |
---|---|
String |
getServerNamespace()
Returns the namespace of the web server application context or
null if no
namespace has been set. |
WebServer |
getWebServer()
Returns the
WebServer that was created by the context or null if
the server has not yet been created. |
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
containsLocalBean, getParentBeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch
getMessage, getMessage, getMessage
publishEvent, publishEvent
WebServer getWebServer()
WebServer
that was created by the context or null
if
the server has not yet been created.String getServerNamespace()
null
if no
namespace has been set. Used for disambiguation when multiple web servers are
running in the same application (for example a management context running on a
different port).Copyright © 2018 Pivotal Software, Inc.. All rights reserved.