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