クラス JobScopeTestUtils
java.lang.ObjectSE
org.springframework.batch.test.JobScopeTestUtils
単体テストで
JobScope
を作成および操作するためのユーティリティクラス。これは、Spring Test サポートを使用して、アプリケーションコンテキストでジョブスコープが設定されている依存関係をテストケースに注入する場合に役立ちます。- 作成者:
- Dave Syer, Jimmy Praet, Mahmoud Ben Hassine
コンストラクターのサマリー
メソッドのサマリー
コンストラクターの詳細
JobScopeTestUtils
public JobScopeTestUtils()
メソッドの詳細
doInJobScope
public static <T> T doInJobScope(JobExecution jobExecution, CallableSE<T> callable) throws ExceptionSE - 例外:
ExceptionSE