クラス DefaultPropertyEditorRegistrar

java.lang.ObjectSE
org.springframework.batch.support.DefaultPropertyEditorRegistrar
実装されているすべてのインターフェース:
org.springframework.beans.PropertyEditorRegistrar
既知の直属サブクラス
BeanWrapperFieldSetMapper

public class DefaultPropertyEditorRegistrar extends ObjectSE implements org.springframework.beans.PropertyEditorRegistrar
カスタム PropertyEditorSE インスタンスを PropertyEditorRegistry に登録する必要がある場合 (Bean ラッパーや型コンバーターなど) で使用できる、再利用可能な PropertyEditorRegistrar。これはスレッドセーフではありませんが、バインドまたは初期化がシングルスレッドでしか実行できないと確信している場合 (たとえば、スレッドのないスタンドアロンアプリケーションなど) に役立ちます。
作成者:
Dave Syer, Mahmoud Ben Hassine
  • コンストラクターの詳細

    • DefaultPropertyEditorRegistrar

      public DefaultPropertyEditorRegistrar()
  • メソッドの詳細

    • registerCustomEditors

      public void registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry)
      指定されたレジストリにカスタムエディターを登録します。
      次で指定:
      インターフェース org.springframework.beans.PropertyEditorRegistrarregisterCustomEditors 
      関連事項:
      • PropertyEditorRegistrar.registerCustomEditors(org.springframework.beans.PropertyEditorRegistry)
    • setCustomEditors

      public void setCustomEditors(MapSE<?,? extends PropertyEditorSE> customEditors)
      登録する custom editorsSE を指定します。
      パラメーター:
      customEditors - クラスの PropertyEditor へのマップ(またはクラス名から PropertyEditor へ)。
      関連事項:
      • CustomEditorConfigurer.setCustomEditors(Map)