title: Java EE 7 Batch Processor onStop for chunk jobs
body: <p>I have been reading a bit about the Java EE 7.0 batch processor on <a href="http://www.oracle.com/technetwork/articles/java/batch-1965499.html" rel="nofollow">http://www.oracle.com/technetwork/articles/java/batch-1965499.html</a>. As explained there are 2 job types, chunk oriented and task oriented. I am using the chunk oriented approach, but the problem is that I cannot find a way to catch the Stop event when I stop the job. I see that in the task oriented jobs, you can override the onStop method but not in chunk jobs.</p>
  
  <p>Anyone know how to handle the stop event in chunk jobs?</p>