Package jakarta.batch.api
Interface Batchlet
-
- All Known Implementing Classes:
AbstractBatchlet
public interface Batchlet
A batchlet is type of batch step that can be used for any type of background processing that does not explicitly call for a chunk oriented approach.A well-behaved batchlet responds to stop requests by implementing the stop method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
process()
The process method does the work of the batchlet.void
stop()
The stop method is invoked by the batch runtime as part of JobOperator.stop() method processing.
-