接口 WebServerApplicationContext

    • 字段概要

      • 从接口继承的字段 org.springframework.beans.factory.BeanFactory

        FACTORY_BEAN_PREFIX
      • 从接口继承的字段 org.springframework.core.io.ResourceLoader

        CLASSPATH_URL_PREFIX
      • 从接口继承的字段 org.springframework.core.io.support.ResourcePatternResolver

        CLASSPATH_ALL_URL_PREFIX
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      StringgetServerNamespace()
      Returns the namespace of the web server application context or null if no namespace has been set.
      WebServergetWebServer()
      Returns the WebServer that was created by the context or null if the server has not yet been created.
      • 从接口继承的方法 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, isPrototype, isSingleton, isTypeMatch, isTypeMatch
      • 从接口继承的方法 org.springframework.core.env.EnvironmentCapable

        getEnvironment
      • 从接口继承的方法 org.springframework.beans.factory.HierarchicalBeanFactory

        containsLocalBean, getParentBeanFactory
      • 从接口继承的方法 org.springframework.beans.factory.ListableBeanFactory

        containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
      • 从接口继承的方法 org.springframework.context.MessageSource

        getMessage, getMessage, getMessage
      • 从接口继承的方法 org.springframework.core.io.ResourceLoader

        getClassLoader, getResource
      • 从接口继承的方法 org.springframework.core.io.support.ResourcePatternResolver

        getResources
    • 方法详细资料

      • getWebServer

        WebServer getWebServer()
        Returns the WebServer that was created by the context or null if the server has not yet been created.
        返回:
        the web server
      • getServerNamespace

        String getServerNamespace()
        Returns the namespace of the web server application context or 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).
        返回:
        the server namespace