クラス ItemProcessorAdapter<I,O>

java.lang.ObjectSE
org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator<O>
org.springframework.batch.item.adapter.ItemProcessorAdapter<I,O>
実装されたすべてのインターフェース:
ItemProcessor<I,O>org.springframework.beans.factory.InitializingBean

public class ItemProcessorAdapter<I,O> extends AbstractMethodInvokingDelegator<O> implements ItemProcessor<I,O>
それ自体がアイテムを処理するデリゲートのプレーンな古い Java オブジェクトでカスタムメソッドを呼び出します。
作成者:
Dave Syer
  • コンストラクターの詳細

    • ItemProcessorAdapter

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

    • process

      @Nullable public O process(I item) throws ExceptionSE
      デリゲートメソッドを呼び出し、結果を返します。
      次で指定:
      インターフェース ItemProcessor<I,O>process 
      パラメーター:
      item - 処理されるため、null は使用しないでください。
      戻り値:
      処理を続行するために潜在的に変更された項目または新しい項目、提供された項目の処理を続行しない場合は null 
      例外:
      ExceptionSE - 処理中に例外が発生した場合にスローされます。
      関連事項: