I´m design a solution in Spring Batch to simplify my team in developing with that framework. I wish to create "hook-methods" in listeners (Job, Step, Item) to execute theirs code, and after delegate executions methods in phases class implementations of ItemReader, ItemProcessor, ItemWriter, Tasklet.
My ideia is create methods: handleInit, handleDispose, handleOnBeforeFirst, handleOnAfterLast, etc...
Can I do this with Listeners? Or create delegates of phases class implementations..
Thanks
Aucun commentaire:
Enregistrer un commentaire