クラス DefaultPropertyEditorRegistrar
java.lang.ObjectSE
org.springframework.batch.support.DefaultPropertyEditorRegistrar
- 実装されているすべてのインターフェース:
org.springframework.beans.PropertyEditorRegistrar
- 既知の直属サブクラス
BeanWrapperFieldSetMapper
public class DefaultPropertyEditorRegistrar
extends ObjectSE
implements org.springframework.beans.PropertyEditorRegistrar
カスタム
PropertyEditor
SE インスタンスを PropertyEditorRegistry
に登録する必要がある場合 (Bean ラッパーや型コンバーターなど) で使用できる、再利用可能な PropertyEditorRegistrar
。これはスレッドセーフではありませんが、バインドまたは初期化がシングルスレッドでしか実行できないと確信している場合 (たとえば、スレッドのないスタンドアロンアプリケーションなど) に役立ちます。- 作成者:
- Dave Syer, Mahmoud Ben Hassine
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
registerCustomEditors
(org.springframework.beans.PropertyEditorRegistry registry) 指定されたレジストリにカスタムエディターを登録します。void
setCustomEditors
(MapSE<?, ? extends PropertyEditorSE> customEditors) 登録するcustom editors
SE を指定します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.PropertyEditorRegistrar から継承されたメソッド
overridesDefaultEditors
コンストラクターの詳細
DefaultPropertyEditorRegistrar
public DefaultPropertyEditorRegistrar()
メソッドの詳細
registerCustomEditors
public void registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry) 指定されたレジストリにカスタムエディターを登録します。- 次で指定:
- インターフェース
org.springframework.beans.PropertyEditorRegistrar
のregisterCustomEditors
- 関連事項:
PropertyEditorRegistrar.registerCustomEditors(org.springframework.beans.PropertyEditorRegistry)
setCustomEditors
登録するcustom editors
SE を指定します。- パラメーター:
customEditors
- クラスの PropertyEditor へのマップ(またはクラス名から PropertyEditor へ)。- 関連事項:
CustomEditorConfigurer.setCustomEditors(Map)