View Javadoc

1   package org.jumpmind.symmetric.load;
2   
3   import org.jumpmind.symmetric.ext.IExtensionPoint;
4   import org.jumpmind.symmetric.model.IncomingBatchHistory;
5   import org.springframework.transaction.annotation.Transactional;
6   
7   @Transactional
8   public interface IBatchListener extends IExtensionPoint {
9   
10      /***
11       * This method is called after a batch has been successfully processed. It
12       * is called in the scope of the transaction that controls the batch commit.
13       */
14      public void batchComplete(IDataLoader loader, IncomingBatchHistory history);
15  }