//use batchProcessor specific implementation for checking on this.
boolean bStarted = bp.isStarted(ticket);
if(bStarted){
if(!bInfomredStarted){
//callback: inform once about started
bp.notifyStart(ticket, bp.getJob(ticket));
log.debug("BatchExecutionListener: notify STARTED for: "+ticket);
bInfomredStarted=true;
}
if(bp.isRunning(ticket)){