パッケージ | 説明 |
---|---|
org.springframework.context | このパッケージは、beans パッケージに基づいて構築され、メッセージソースと Observer デザインパターンのサポート、および一貫性のある API を使用してリソースを取得するアプリケーションオブジェクトの機能を追加します。 |
org.springframework.context.annotation | JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。 |
org.springframework.context.event | 標準コンテキストイベントなどのアプリケーションイベントのサポートクラス。 |
org.springframework.context.support | ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。 |
org.springframework.http.converter.json | JSON を処理するための HttpMessageConverter 実装を提供します。 |
org.springframework.jca.context | Spring アプリケーションコンテキストを JCA 1.7 準拠の RAR ファイルとしてデプロイできる統合パッケージ。 |
org.springframework.jms.config | Java 構成および XML スキーマをサポートする、宣言型メッセージング構成のサポートパッケージ。 |
org.springframework.messaging.handler.invocation | メッセージハンドラーメソッドを呼び出すための共通インフラストラクチャ。 |
org.springframework.messaging.handler.invocation.reactive | ノンブロッキング、リアクティブ契約でメッセージハンドラーメソッドを呼び出すための共通インフラストラクチャ。 |
org.springframework.messaging.simp.config | より高いレベルのメッセージングプロトコルを使用した WebSocket メッセージングの構成サポート。 |
org.springframework.scheduling.annotation | 非同期メソッド実行用の Java 5 アノテーション。 |
org.springframework.scheduling.quartz | オープンソーススケジューラ Quartz のサポートクラス。Quartz スケジューラ、JobDetails、トリガーを Spring コンテキストの Bean として設定できます。 |
org.springframework.test.context | このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。 |
org.springframework.test.context.cache | Spring TestContext フレームワーク内のコンテキストキャッシングのサポート。 |
org.springframework.test.context.junit.jupiter | Spring TestContext フレームワークを JUnit 5 の JUnit Jupiter 拡張モデルと統合するためのコアサポート。 |
org.springframework.test.context.junit4 | Spring TestContext フレームワークを JUnit 4.12 以上と統合するためのサポートクラス。 |
org.springframework.test.context.support | Spring TestContext フレームワークのサポートクラス。 |
org.springframework.test.context.testng | Spring TestContext フレームワークを TestNG と統合するためのサポートクラス。 |
org.springframework.test.context.web | Web は、Spring TestContext フレームワークのクラスをサポートします。 |
org.springframework.test.web.reactive.server | WebTestClient を介した Spring WebFlux サーバーエンドポイントのテストのサポート。 |
org.springframework.ui.context.support | org.springframework.ui.context パッケージをサポートするクラス。 |
org.springframework.validation.beanvalidation | JSR-303 Bean 検証プロバイダー(Hibernate Validator など)を Spring ApplicationContext に、特に Spring のデータバインディングおよび検証 API と統合するためのサポートクラス。 |
org.springframework.web.context | Web アプリケーションのアプリケーションコンテキストインターフェースのバリアントと、ルート Web アプリケーションコンテキストをブートストラップする ContextLoaderListener が含まれています。 |
org.springframework.web.context.support | WebApplicationContext 実装やさまざまなユーティリティクラスなど、 org.springframework.web.context パッケージをサポートするクラス。 |
org.springframework.web.method | Spring MVC の org.springframework.web.servlet.mvc.method パッケージで使用される、ハンドラーメソッド処理の共通インフラストラクチャ。 |
org.springframework.web.reactive | DispatcherHandler を含む spring-webflux モジュールの最上位パッケージ。WebFlux サーバーエンドポイント処理のメインエントリポイントで、リクエストをハンドラーにマッピングし、呼び出し、結果を処理するために使用されるキー契約を含みます。 |
org.springframework.web.reactive.config | Spring WebFlux 構成インフラストラクチャ。 |
org.springframework.web.reactive.resource | 静的リソースを提供するためのサポートクラス。 |
org.springframework.web.reactive.result.method.annotation | アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。 |
org.springframework.web.reactive.result.view | ビューの解決による結果処理のサポート。 |
org.springframework.web.reactive.result.view.script | JSR-223 スクリプトエンジンの抽象化(Java 6+ に含まれる)に基づくビューのサポートクラス。 |
org.springframework.web.server | Spring の一般的なリアクティブ Web サポートのコアインターフェースとクラス。 |
org.springframework.web.server.adapter | 基礎となる org.springframework.http.client.reactive リアクティブ HTTP アダプターと HttpHandler に適応する実装。 |
org.springframework.web.servlet | アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。 |
org.springframework.web.servlet.config.annotation | Spring MVC のアノテーションベースのセットアップ。 |
org.springframework.web.servlet.handler | カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。 |
org.springframework.web.servlet.mvc.method.annotation | org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 |
org.springframework.web.servlet.resource | 静的リソースを提供するためのサポートクラス。 |
org.springframework.web.servlet.view | カスタム実装の抽象基本クラスを含む、標準の View および ViewResolver 実装を提供します。 |
org.springframework.web.servlet.view.groovy | Groovy テンプレートを Spring Web ビューテクノロジーとして統合するためのサポートクラス。 |
org.springframework.web.servlet.view.script | JSR-223 スクリプトエンジンの抽象化(Java 6+ に含まれる)に基づくビューのサポートクラス。 |
org.springframework.web.socket.adapter.standard | 標準 Java WebSocket API のアダプタークラス。 |
org.springframework.web.socket.config.annotation | 構成クラスでのアノテーションベースの WebSocket セットアップのサポート。 |
修飾子と型 | インターフェースと説明 |
---|---|
interface | ConfigurableApplicationContext ほとんどのアプリケーションコンテキストによって実装される SPI インターフェース。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | ApplicationContext.getParent() 親コンテキストを返します。親が存在せず、これがコンテキスト階層のルートである場合は null を返します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | ApplicationContextAware.setApplicationContext(ApplicationContext applicationContext) このオブジェクトが実行される ApplicationContext を設定します。 |
void | ConfigurableApplicationContext.setParent(ApplicationContext parent) このアプリケーションコンテキストの親を設定します。 |
修飾子と型 | クラスと説明 |
---|---|
class | AnnotationConfigApplicationContext コンポーネントクラスを入力として受け入れるスタンドアロンアプリケーションコンテキスト— 特に @Configuration アノテーション付きクラスだけでなく、プレーン @Component 型および javax.inject アノテーションを使用する JSR-330 準拠クラスも受け入れます。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | ApplicationContextEvent.getApplicationContext() イベントが発生した ApplicationContext を取得します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | EventListenerMethodProcessor.setApplicationContext(ApplicationContext applicationContext) |
コンストラクターと説明 |
---|
ApplicationContextEvent(ApplicationContext source) 新しい ContextStartedEvent を作成します。 |
ContextClosedEvent(ApplicationContext source) 新しい ContextClosedEvent を作成します。 |
ContextRefreshedEvent(ApplicationContext source) 新しい ContextRefreshedEvent を作成します。 |
ContextStartedEvent(ApplicationContext source) 新しい ContextStartedEvent を作成します。 |
ContextStoppedEvent(ApplicationContext source) 新しい ContextStoppedEvent を作成します。 |
修飾子と型 | クラスと説明 |
---|---|
class | AbstractApplicationContext ApplicationContext インターフェースの抽象的な実装。 |
class | AbstractRefreshableApplicationContext AbstractApplicationContext.refresh() への複数の呼び出しをサポートすることになっている ApplicationContext 実装の基本クラスで、毎回新しい内部 Bean ファクトリインスタンスを作成します。 |
class | AbstractRefreshableConfigApplicationContext 指定された構成の場所の一般的な処理を追加する AbstractRefreshableApplicationContext サブクラス。 |
class | AbstractXmlApplicationContext ApplicationContext 実装の便利な基本クラス。XmlBeanDefinitionReader が理解する Bean 定義を含む XML ドキュメントから構成を描画します。 |
class | ClassPathXmlApplicationContext スタンドアロン XML アプリケーションコンテキスト。コンテキストパスをクラスパスから取得し、プレーンパスをパッケージパスを含むクラスパスリソース名として解釈します(例: |
class | FileSystemXmlApplicationContext スタンドアロン XML アプリケーションコンテキスト。ファイルシステムまたは URL からコンテキスト定義ファイルを取得し、プレーンパスを相対ファイルシステムの場所として解釈します(例: |
class | GenericApplicationContext 単一の内部 DefaultListableBeanFactory インスタンスを保持し、特定の Bean 定義フォーマットを想定しない汎用 ApplicationContext 実装。 |
class | GenericGroovyApplicationContext GenericApplicationContext を継承し、GroovyObject を実装する ApplicationContext 実装。AbstractApplicationContext.getBean(java.lang.String) を使用する代わりに、ドット参照解除構文で Bean を取得できます。 |
class | GenericXmlApplicationContext 組み込みの XML サポートを備えた便利なアプリケーションコンテキスト。 |
class | StaticApplicationContext 外部構成ソースから Bean 定義を読み取るのではなく、Bean およびメッセージのプログラムによる登録をサポートする ApplicationContext 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | ApplicationObjectSupport.getApplicationContext() このオブジェクトが関連付けられている ApplicationContext を返します。 |
ApplicationContext | AbstractApplicationContext.getParent() 親コンテキストを返します。親がない場合(つまり、このコンテキストがコンテキスト階層のルートである場合)は、 null を返します。 |
protected ApplicationContext | ApplicationObjectSupport.obtainApplicationContext() 実際に使用するために ApplicationContext を取得します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | ApplicationObjectSupport.initApplicationContext(ApplicationContext context) サブクラスは、カスタム初期化動作のためにこれをオーバーライドできます。 |
void | LiveBeansView.setApplicationContext(ApplicationContext applicationContext) |
void | ApplicationObjectSupport.setApplicationContext(ApplicationContext context) |
void | GenericApplicationContext.setParent(ApplicationContext parent) このアプリケーションコンテキストの親を設定し、それに応じて内部 BeanFactory の親も設定します。 |
void | AbstractApplicationContext.setParent(ApplicationContext parent) このアプリケーションコンテキストの親を設定します。 |
コンストラクターと説明 |
---|
AbstractApplicationContext(ApplicationContext parent) 指定された親コンテキストで新しい AbstractApplicationContext を作成します。 |
AbstractRefreshableApplicationContext(ApplicationContext parent) 指定された親コンテキストで新しい AbstractRefreshableApplicationContext を作成します。 |
AbstractRefreshableConfigApplicationContext(ApplicationContext parent) 指定された親コンテキストで新しい AbstractRefreshableConfigApplicationContext を作成します。 |
AbstractXmlApplicationContext(ApplicationContext parent) 指定された親コンテキストで新しい AbstractXmlApplicationContext を作成します。 |
ClassPathXmlApplicationContext(ApplicationContext parent) Bean スタイルの構成用に新しい ClassPathXmlApplicationContext を作成します。 |
ClassPathXmlApplicationContext(StringSE[] configLocations, ApplicationContext parent) 指定された親を使用して新しい ClassPathXmlApplicationContext を作成し、指定された XML ファイルから定義をロードして、コンテキストを自動的にリフレッシュします。 |
ClassPathXmlApplicationContext(StringSE[] configLocations, boolean refresh, ApplicationContext parent) 指定された親を使用して新しい ClassPathXmlApplicationContext を作成し、指定された XML ファイルから定義をロードします。 |
ClassPathXmlApplicationContext(StringSE[] paths, ClassSE<?> clazz, ApplicationContext parent) 指定された親を使用して新しい ClassPathXmlApplicationContext を作成し、指定された XML ファイルから定義をロードして、コンテキストを自動的にリフレッシュします。 |
FileSystemXmlApplicationContext(ApplicationContext parent) Bean スタイルの構成用に新しい FileSystemXmlApplicationContext を作成します。 |
FileSystemXmlApplicationContext(StringSE[] configLocations, ApplicationContext parent) 指定された親を使用して新しい FileSystemXmlApplicationContext を作成し、指定された XML ファイルから定義をロードして、コンテキストを自動的にリフレッシュします。 |
FileSystemXmlApplicationContext(StringSE[] configLocations, boolean refresh, ApplicationContext parent) 指定された親を使用して新しい FileSystemXmlApplicationContext を作成し、指定された XML ファイルから定義をロードします。 |
GenericApplicationContext(ApplicationContext parent) 指定された親を持つ新しい GenericApplicationContext を作成します。 |
GenericApplicationContext(DefaultListableBeanFactory beanFactory, ApplicationContext parent) 指定された DefaultListableBeanFactory で新しい GenericApplicationContext を作成します。 |
StaticApplicationContext(ApplicationContext parent) 指定された親を持つ新しい StaticApplicationContext を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
Jackson2ObjectMapperBuilder | Jackson2ObjectMapperBuilder.applicationContext(ApplicationContext applicationContext) Jackson ハンドラー( JsonSerializer 、JsonDeserializer 、KeyDeserializer 、TypeResolverBuilder および TypeIdResolver )をオートワイヤーするために、Spring ApplicationContext を設定します。 |
void | Jackson2ObjectMapperFactoryBean.setApplicationContext(ApplicationContext applicationContext) Jackson ハンドラー( JsonSerializer 、JsonDeserializer 、KeyDeserializer 、TypeResolverBuilder 、TypeIdResolver )をオートワイヤーするために、ビルダー ApplicationContext を設定します。 |
修飾子と型 | クラスと説明 |
---|---|
class | ResourceAdapterApplicationContext JCA ResourceAdapter の ApplicationContext 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
void | JmsListenerEndpointRegistry.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | AbstractMethodMessageHandler.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | AbstractMethodMessageHandler.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | AbstractMessageBrokerConfiguration.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractMessageBrokerConfiguration.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | ScheduledAnnotationBeanPostProcessor.setApplicationContext(ApplicationContext applicationContext) ApplicationContext の設定はオプションです。設定すると、登録されたタスクは ContextRefreshedEvent フェーズでアクティブになります。設定されていない場合、ScheduledAnnotationBeanPostProcessor.afterSingletonsInstantiated() 時に発生します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | SpringBeanJobFactory.setApplicationContext(ApplicationContext applicationContext) |
void | JobDetailFactoryBean.setApplicationContext(ApplicationContext applicationContext) |
void | SchedulerFactoryBean.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | TestContext.getApplicationContext() おそらくキャッシュされている、このテストコンテキストのアプリケーションコンテキストを取得します。 |
ApplicationContext | MergedContextConfiguration.getParentApplicationContext() この MergedContextConfiguration によって定義されたコンテキストの親 ApplicationContext をコンテキストキャッシュから取得します。 |
ApplicationContext | SmartContextLoader.loadContext(MergedContextConfiguration mergedConfig) 指定された merged context configuration に基づいて新しい context をロードし、コンテキストを構成して、最後に完全にリフレッシュされた状態でコンテキストを返します。 |
ApplicationContext | CacheAwareContextLoaderDelegate.loadContext(MergedContextConfiguration mergedContextConfiguration) 指定された MergedContextConfiguration で構成された ContextLoader に委譲することにより、提供された MergedContextConfiguration のアプリケーションコンテキストをロードします。 |
ApplicationContext | ContextLoader.loadContext(StringSE... locations) 提供された locations に基づいて新しい context をロードし、コンテキストを構成して、最後に完全にリフレッシュされた状態でコンテキストを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | DefaultContextCache.get(MergedContextConfiguration key) 指定されたキーのキャッシュされた ApplicationContext を取得します。 |
ApplicationContext | ContextCache.get(MergedContextConfiguration key) 指定されたキーのキャッシュされた ApplicationContext を取得します。 |
ApplicationContext | DefaultCacheAwareContextLoaderDelegate.loadContext(MergedContextConfiguration mergedContextConfiguration) |
protected ApplicationContext | DefaultCacheAwareContextLoaderDelegate.loadContextInternal(MergedContextConfiguration mergedContextConfiguration) 提供されたマージされたコンテキスト構成の ApplicationContext をロードします。 |
修飾子と型 | メソッドと説明 |
---|---|
void | DefaultContextCache.put(MergedContextConfiguration key, ApplicationContext context) 特定のキーにある ApplicationContext インスタンスをキャッシュに明示的に追加します。これにより、カスタムの排除ポリシーが適用される可能性があります。 |
void | ContextCache.put(MergedContextConfiguration key, ApplicationContext context) 特定のキーにある ApplicationContext インスタンスをキャッシュに明示的に追加します。これにより、カスタムの排除ポリシーが適用される可能性があります。 |
修飾子と型 | メソッドと説明 |
---|---|
static ApplicationContext | SpringExtension.getApplicationContext(ExtensionContext context) 提供された ExtensionContext に関連付けられた ApplicationContext を取得します。 |
修飾子と型 | フィールドと説明 |
---|---|
protected ApplicationContext | AbstractJUnit4SpringContextTests.applicationContext AbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext) を介してこのテストインスタンスに挿入された ApplicationContext 。 |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext applicationContext) ApplicationContextAware セマンティクスを介して提供される、このテストインスタンスによって使用される ApplicationContext を設定します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | DefaultTestContext.getApplicationContext() このテストコンテキストのアプリケーションコンテキストを取得します。 |
ApplicationContext | AbstractDelegatingSmartContextLoader.loadContext(MergedContextConfiguration mergedConfig) ApplicationContext をロードする適切な候補 SmartContextLoader にデリゲートします。 |
ApplicationContext | AbstractDelegatingSmartContextLoader.loadContext(StringSE... locations) AbstractDelegatingSmartContextLoader は ContextLoader.loadContext(String...) メソッドをサポートしていません。 |
修飾子と型 | フィールドと説明 |
---|---|
protected ApplicationContext | AbstractTestNGSpringContextTests.applicationContext AbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext) を介してこのテストインスタンスに挿入された ApplicationContext 。 |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext applicationContext) ApplicationContextAware セマンティクスを介して提供される、このテストインスタンスによって使用される ApplicationContext を設定します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | AbstractGenericWebContextLoader.loadContext(StringSE... locations) |
修飾子と型 | メソッドと説明 |
---|---|
static WebTestClient.MockServerSpec<?> | WebTestClient.bindToApplicationContext(ApplicationContext applicationContext) このオプションを使用して、アプリケーションの Spring 構成またはそのサブセットからサーバーをセットアップします。 |
修飾子と型 | メソッドと説明 |
---|---|
static ThemeSource | UiApplicationContextUtils.initThemeSource(ApplicationContext context) 指定されたアプリケーションコンテキストの ThemeSource を初期化し、"themeSource" という名前の Bean を自動検出します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | LocalValidatorFactoryBean.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | インターフェースと説明 |
---|---|
interface | ConfigurableWebApplicationContext 設定可能な Web アプリケーションコンテキストによって実装されるインターフェース。 |
interface | WebApplicationContext Web アプリケーションの構成を提供するインターフェース。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContext | ContextLoader.loadParentContext(ServletContextEE servletContext) ルート WebApplicationContext の親コンテキストとして使用される ApplicationContext インスタンスをロードまたは取得するための、デフォルトの実装(サブクラスによってオーバーライドされる可能性がある)を持つテンプレートメソッド。 |
修飾子と型 | クラスと説明 |
---|---|
class | AbstractRefreshableWebApplicationContext Web 環境用の ConfigurableWebApplicationContext インターフェースを実装する AbstractRefreshableApplicationContext サブクラス。 |
class | AnnotationConfigWebApplicationContext コンポーネントクラスを入力として受け入れる WebApplicationContext 実装 — 特に @Configuration アノテーション付きクラスだけでなく、プレーン @Component クラスおよび javax.inject アノテーションを使用する JSR-330 準拠クラスも受け入れます。 |
class | GenericWebApplicationContext Web 環境に適した GenericApplicationContext のサブクラス。 |
class | GroovyWebApplicationContext GroovyBeanDefinitionReader で理解されるように、Groovy Bean 定義スクリプトおよび / または XML ファイルから構成を取得する WebApplicationContext 実装。 |
class | StaticWebApplicationContext テスト用の静的 WebApplicationContext 実装。 |
class | XmlWebApplicationContext XmlBeanDefinitionReader が理解する XML ドキュメントから構成を取得する WebApplicationContext 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | WebApplicationObjectSupport.initApplicationContext(ApplicationContext context) 指定された ApplicationContext が WebApplicationContext の場合、WebApplicationObjectSupport.initServletContext(javax.servlet.ServletContext) を呼び出します。 |
修飾子と型 | メソッドと説明 |
---|---|
static ListSE<ControllerAdviceBean> | ControllerAdviceBean.findAnnotatedBeans(ApplicationContext context) 指定された ApplicationContext で @ControllerAdvice のアノテーションが付けられた Bean を見つけ、ControllerAdviceBean インスタンスとしてラップします。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | DispatcherHandler.initStrategies(ApplicationContext context) |
void | DispatcherHandler.setApplicationContext(ApplicationContext applicationContext) |
コンストラクターと説明 |
---|
DispatcherHandler(ApplicationContext applicationContext) 指定された ApplicationContext の新しい DispatcherHandler を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | WebFluxConfigurationSupport.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
void | WebFluxConfigurationSupport.setApplicationContext(ApplicationContext applicationContext) |
コンストラクターと説明 |
---|
ViewResolverRegistry(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | ResourceUrlProvider.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | RequestMappingHandlerAdapter.setApplicationContext(ApplicationContext applicationContext) ConfigurableApplicationContext は、メソッド引数のデフォルト値の式を解決し、@ControllerAdvice Bean を検出するために必要です。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | AbstractView.getApplicationContext() |
ApplicationContext | UrlBasedViewResolver.getApplicationContext() 含まれている ApplicationContext があれば、それを返します。 |
protected ApplicationContext | AbstractView.obtainApplicationContext() 実際に使用するために ApplicationContext を取得します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractView.setApplicationContext(ApplicationContext applicationContext) |
void | UrlBasedViewResolver.setApplicationContext(ApplicationContext applicationContext) 含まれている ApplicationContext があればそれを受け入れます。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | RenderingContext.getApplicationContext() アプリケーションコンテキストを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | ScriptTemplateView.setApplicationContext(ApplicationContext context) |
コンストラクターと説明 |
---|
RenderingContext(ApplicationContext applicationContext, LocaleSE locale, FunctionSE<StringSE, StringSE> templateLoader, StringSE url) 新しい RenderingContext を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | ServerWebExchange.getApplicationContext() WebHttpHandlerBuilder.applicationContext(ApplicationContext) で初期化された場合、Web アプリケーションに関連付けられた ApplicationContext を返します。 |
ApplicationContext | ServerWebExchangeDecorator.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContext | AbstractReactiveWebInitializer.createApplicationContext() WebHttpHandlerBuilder.applicationContext によって検出されたものを含むアプリケーション Bean を含む Spring 構成を返します。 |
ApplicationContext | DefaultServerWebExchange.getApplicationContext() |
ApplicationContext | HttpWebHandlerAdapter.getApplicationContext() 設定された ApplicationContext を返します(ある場合)。 |
修飾子と型 | メソッドと説明 |
---|---|
static WebHttpHandlerBuilder | WebHttpHandlerBuilder.applicationContext(ApplicationContext context) ApplicationContext で Bean を検出して新しいビルダーインスタンスを作成する静的ファクトリメソッド。 |
protected void | AbstractReactiveWebInitializer.refreshApplicationContext(ApplicationContext context) 必要に応じて、指定されたアプリケーションコンテキストをリフレッシュします。 |
protected void | AbstractReactiveWebInitializer.registerCloseListener(ServletContextEE servletContext, ApplicationContext applicationContext) サーブレットコンテキストが破棄されると、指定されたアプリケーションコンテキストを閉じる ServletContextListener EE を登録します。 |
void | HttpWebHandlerAdapter.setApplicationContext(ApplicationContext applicationContext) WebHttpHandlerBuilder.applicationContext(ApplicationContext) を介して初期化されている場合は、Web アプリケーションに関連付けられた ApplicationContext を構成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | DispatcherServlet.createDefaultStrategy(ApplicationContext context, ClassSE<?> clazz) デフォルト戦略を作成します。 |
protected WebApplicationContext | FrameworkServlet.createWebApplicationContext(ApplicationContext parent) このサーブレットの WebApplicationContext(デフォルトの XmlWebApplicationContext または設定されている場合は custom context class )をインスタンス化します。 |
protected <T> ListSE<T> | DispatcherServlet.getDefaultStrategies(ApplicationContext context, ClassSE<T> strategyInterface) 特定の戦略インターフェースのデフォルト戦略オブジェクトのリストを作成します。 |
protected <T> T | DispatcherServlet.getDefaultStrategy(ApplicationContext context, ClassSE<T> strategyInterface) 指定された戦略インターフェースのデフォルト戦略オブジェクトを返します。 |
protected void | DispatcherServlet.initStrategies(ApplicationContext context) このサーブレットが使用する戦略オブジェクトを初期化します。 |
protected void | FrameworkServlet.onRefresh(ApplicationContext context) オーバーライドしてサーブレット固有のリフレッシュ作業を追加できるテンプレートメソッド。 |
protected void | DispatcherServlet.onRefresh(ApplicationContext context) |
void | FrameworkServlet.setApplicationContext(ApplicationContext applicationContext) ApplicationContextAware を介して Spring によって呼び出され、現在のアプリケーションコンテキストを挿入します。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | WebMvcConfigurationSupport.getApplicationContext() 関連する Spring ApplicationContext を返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | RedirectViewControllerRegistration.setApplicationContext(ApplicationContext applicationContext) |
void | WebMvcConfigurationSupport.setApplicationContext(ApplicationContext applicationContext) Spring ApplicationContext を設定します。 |
protected void | ViewControllerRegistration.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | HandlerMappingIntrospector.setApplicationContext(ApplicationContext applicationContext) |
コンストラクターと説明 |
---|
HandlerMappingIntrospector(ApplicationContext context) 使用すべきではありません。 |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | ExceptionHandlerExceptionResolver.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
void | ExceptionHandlerExceptionResolver.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
protected void | ResourceUrlProvider.detectResourceHandlers(ApplicationContext appContext) |
void | ResourceUrlProvider.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
void | ViewResolverComposite.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContext | GroovyMarkupConfigurer.getApplicationContext() |
修飾子と型 | メソッドと説明 |
---|---|
protected void | GroovyMarkupView.initApplicationContext(ApplicationContext context) 起動時に呼び出されます。 |
void | GroovyMarkupConfigurer.setApplicationContext(ApplicationContext applicationContext) |
修飾子と型 | メソッドと説明 |
---|---|
ApplicationContext | RenderingContext.getApplicationContext() アプリケーションコンテキストを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | ScriptTemplateView.initApplicationContext(ApplicationContext context) |
コンストラクターと説明 |
---|
RenderingContext(ApplicationContext applicationContext, LocaleSE locale, FunctionSE<StringSE, StringSE> templateLoader, StringSE url) 新しい RenderingContext を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContext | ConvertingEncoderDecoderSupport.getApplicationContext() アクティブな ApplicationContext を返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | WebMvcStompEndpointRegistry.setApplicationContext(ApplicationContext applicationContext) |