Class MyItemReadListenerImpl
- java.lang.Object
-
- jakarta.batch.api.chunk.listener.AbstractItemReadListener
-
- com.ibm.jbatch.tck.artifacts.specialized.MyItemReadListenerImpl
-
- All Implemented Interfaces:
jakarta.batch.api.chunk.listener.ItemReadListener
@Named("myItemReadListenerImpl") public class MyItemReadListenerImpl extends jakarta.batch.api.chunk.listener.AbstractItemReadListener
-
-
Field Summary
Fields Modifier and Type Field Description static StringBAD_EXIT_STATUSstatic StringGOOD_EXIT_STATUS
-
Constructor Summary
Constructors Constructor Description MyItemReadListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterRead(Object item)voidbeforeRead()voidonReadError(Exception e)
-
-
-
Field Detail
-
GOOD_EXIT_STATUS
public static final String GOOD_EXIT_STATUS
- See Also:
- Constant Field Values
-
BAD_EXIT_STATUS
public static final String BAD_EXIT_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeRead
public void beforeRead()
- Specified by:
beforeReadin interfacejakarta.batch.api.chunk.listener.ItemReadListener- Overrides:
beforeReadin classjakarta.batch.api.chunk.listener.AbstractItemReadListener
-
afterRead
public void afterRead(Object item) throws Exception
- Specified by:
afterReadin interfacejakarta.batch.api.chunk.listener.ItemReadListener- Overrides:
afterReadin classjakarta.batch.api.chunk.listener.AbstractItemReadListener- Throws:
Exception
-
-