インターフェースの使用
org.springframework.ui.context.ThemeSource
パッケージ
説明
UI アプリケーションのアプリケーションコンテキストサブインターフェースを定義するクラスが含まれています。
org.springframework.ui.context パッケージをサポートするクラス。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。 アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
Spring の Web MVC フレームワークのサポートクラス。
org.springframework.ui.context 内の ThemeSource 使用
修飾子と型メソッド説明HierarchicalThemeSource.getParentThemeSource()
使用すべきではありません。この ThemeSource の親、または存在しない場合はnull
を返します。修飾子と型メソッド説明void
HierarchicalThemeSource.setParentThemeSource
(ThemeSource parent) 使用すべきではありません。このオブジェクトが解決できないテーマメッセージの解決に使用する親を設定します。org.springframework.ui.context.support 内の ThemeSource 使用
修飾子と型クラス説明class
使用すべきではありません。6.0 の時点で CSS の使用を推奨し、直接の代替なしclass
使用すべきではありません。6.0 の時点で CSS の使用を推奨し、直接の代替なし修飾子と型メソッド説明DelegatingThemeSource.getParentThemeSource()
使用すべきではありません。ResourceBundleThemeSource.getParentThemeSource()
使用すべきではありません。static ThemeSource
UiApplicationContextUtils.initThemeSource
(ApplicationContext context) 使用すべきではありません。指定されたアプリケーションコンテキストの ThemeSource を初期化し、"themeSource" という名前の Bean を自動検出します。修飾子と型メソッド説明void
DelegatingThemeSource.setParentThemeSource
(ThemeSource parentThemeSource) 使用すべきではありません。void
ResourceBundleThemeSource.setParentThemeSource
(ThemeSource parent) 使用すべきではありません。org.springframework.web.context.support 内の ThemeSource 使用
修飾子と型クラス説明class
Web 環境用のConfigurableWebApplicationContext
インターフェースを実装するAbstractRefreshableApplicationContext
サブクラス。class
コンポーネントクラスを入力として受け入れるWebApplicationContext
実装 — 特に@Configuration
クラスだけでなく、プレーンな@Component
クラス、jakarta.inject
アノテーションを使用する JSR-330 準拠のクラス。class
Web 環境に適したGenericApplicationContext
のサブクラス。class
GroovyBeanDefinitionReader
で理解されるように、Groovy Bean 定義スクリプトおよび / または XML ファイルから構成を取得するWebApplicationContext
実装。class
テスト用の静的WebApplicationContext
実装。class
XmlBeanDefinitionReader
が理解する XML ドキュメントから構成を取得するWebApplicationContext
実装。org.springframework.web.servlet 内の ThemeSource 使用
org.springframework.web.servlet.support 内の ThemeSource 使用
修飾子と型メソッド説明static ThemeSource
RequestContextUtils.getThemeSource
(HttpServletRequestEE request) 使用すべきではありません。6.0 の時点で、直接の代替はありません