public interface WebServerApplicationContext
extends org.springframework.context.ApplicationContextWebServer のライフサイクルを作成および管理する application contexts によって実装されるインターフェース。| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getServerNamespace()Web サーバーアプリケーションコンテキストの名前空間を返します。名前空間が設定されていない場合は null を返します。 |
WebServer | getWebServer() コンテキストによって作成された WebServer を返します。サーバーがまだ作成されていない場合は null を返します。 |
static boolean | hasServerNamespace(org.springframework.context.ApplicationContext context, StringSE serverNamespace) 指定されたコンテキストが、一致するサーバー名前空間を持つ WebServerApplicationContext である場合、true を返します。 |
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDatecontainsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotationcontainsLocalBean, getParentBeanFactorycontainsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatchWebServer getWebServer()
WebServer を返します。サーバーがまだ作成されていない場合は null を返します。StringSE getServerNamespace()
null を返します。同じアプリケーションで複数の Web サーバーが実行されている場合の明確化に使用されます(たとえば、異なるポートで実行されている管理コンテキスト)。static boolean hasServerNamespace(org.springframework.context.ApplicationContext context,
StringSE serverNamespace)WebServerApplicationContext である場合、true を返します。context - チェックするコンテキスト serverNamespace - 照合するサーバーの名前空間 true Copyright © 2019 Pivotal Software, Inc.. All rights reserved.