BAEL-2168 Java EE 7 Batch Processing (#5645)
* jberet batch * Batch Understanding * partition * exception * some more changes
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
2f9fee0391
commit
f784c3bb79
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.batch.understanding;
|
||||
|
||||
import javax.batch.api.AbstractBatchlet;
|
||||
import javax.batch.runtime.BatchStatus;
|
||||
import javax.inject.Named;
|
||||
|
||||
@Named
|
||||
public class SimpleBatchLet extends AbstractBatchlet {
|
||||
@Override
|
||||
public String process() throws Exception {
|
||||
return BatchStatus.FAILED.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user