1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.pdp.batch;
17
18 import org.kuali.ole.pdp.batch.service.ExtractTransactionsService;
19 import org.kuali.ole.sys.batch.AbstractWrappedBatchStep;
20 import org.kuali.ole.sys.batch.service.WrappedBatchExecutorService.CustomBatchExecutor;
21
22 public class ExtractGlTransactionsStep extends AbstractWrappedBatchStep {
23 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(ExtractGlTransactionsStep.class);
24
25 private ExtractTransactionsService extractGlTransactionService;
26
27
28
29
30 @Override
31 protected CustomBatchExecutor getCustomBatchExecutor() {
32 return new CustomBatchExecutor() {
33 public boolean execute() {
34 extractGlTransactionService.extractGlTransactions();
35 return true;
36 }
37 };
38 }
39
40 public void setExtractGlTransactionService(ExtractTransactionsService e) {
41 extractGlTransactionService = e;
42 }
43 }