@Named @Dependent public class DatabaseItemReader extends BaseDatabaseItemReader
AbstractItemReaderの実装クラス。| Constructor and Description | 
|---|
DatabaseItemReader(javax.batch.runtime.context.JobContext jobContext,
                  javax.batch.runtime.context.StepContext stepContext,
                  ProgressManager progressManager,
                  StepConfig stepConfig)
コンストラクタ。 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doOpen(java.io.Serializable checkpoint)
テーブルにアクセスして指定されたSELECT文を使ってレコードを取得する。 
 | 
java.lang.Object | 
readItem()  | 
close, doClose, open@Inject
public DatabaseItemReader(javax.batch.runtime.context.JobContext jobContext,
                                  javax.batch.runtime.context.StepContext stepContext,
                                  ProgressManager progressManager,
                                  StepConfig stepConfig)
jobContext - JobContextstepContext - StepContextprogressManager - ProgressManagerstepConfig - ステップ設定public void doOpen(java.io.Serializable checkpoint)
            throws java.sql.SQLException
doOpen in class BaseDatabaseItemReadercheckpoint - チェックポイントjava.sql.SQLExceptionpublic java.lang.Object readItem()
readItem in interface javax.batch.api.chunk.ItemReaderreadItem in class javax.batch.api.chunk.AbstractItemReader