インターフェースの使用
org.springframework.core.convert.support.ConfigurableConversionService
パッケージ
説明
型変換システムのデフォルト実装。
Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。
フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
org.springframework.core.convert.support 内の ConfigurableConversionService 使用
修飾子と型クラス説明class
ほとんどの環境に適したコンバーターでデフォルトで構成されたGenericConversionService
の特殊化。class
ほとんどの環境での使用に適したベースConversionService
実装。org.springframework.core.env 内の ConfigurableConversionService 使用
修飾子と型メソッド説明AbstractEnvironment.getConversionService()
AbstractPropertyResolver.getConversionService()
ConfigurablePropertyResolver.getConversionService()
プロパティの型変換を実行するときに使用されるConfigurableConversionService
を返します。修飾子と型メソッド説明void
AbstractEnvironment.setConversionService
(ConfigurableConversionService conversionService) void
AbstractPropertyResolver.setConversionService
(ConfigurableConversionService conversionService) void
ConfigurablePropertyResolver.setConversionService
(ConfigurableConversionService conversionService) プロパティで型変換を実行するときに使用するConfigurableConversionService
を設定します。org.springframework.format.support 内の ConfigurableConversionService 使用
修飾子と型クラス説明class
FormattingConversionService
の特殊化。ほとんどのアプリケーションに適したコンバーターとフォーマッターでデフォルトで構成されます。class
FormatterRegistry
として構成されるように設計されたConversionService
実装。