title: How to send an e-mail after a job has finished?
body: <p>I created an application that bundles multiple batch jobs. The user can start a job which is then placed in a queue. When the job has been finished I want to send a report to the user.</p>
  
  <p>I know that there is the <code>JobExecutionListener</code> interface. I can implements the e-mail functionality in the <code>afterJob()</code> method. The next step would be to register this listener to my jobs.</p>
  
  <p>Is there a way to do it automatically with all my jobs? I don't want to configure it for every new job.</p>