ExecutionFond creation
This commit is contained in:
parent
c425431f4f
commit
125c50beb8
1 changed files with 5 additions and 1 deletions
|
|
@ -23,16 +23,19 @@ public class ClearingService implements DisposableBean {
|
||||||
private final VerificationResultComponent verificationResultComponent;
|
private final VerificationResultComponent verificationResultComponent;
|
||||||
private final Clearing clearing;
|
private final Clearing clearing;
|
||||||
private final ExecutionDepositComponent executionDepositComponent;
|
private final ExecutionDepositComponent executionDepositComponent;
|
||||||
|
private final ExecutionFondComponent executionFondComponent;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public ClearingService(SdfCreatorBySTLDPayment sdfCreator, PaymentUpdateBySdf04 paymentUpdater,
|
public ClearingService(SdfCreatorBySTLDPayment sdfCreator, PaymentUpdateBySdf04 paymentUpdater,
|
||||||
VerificationResultComponent verificationResultComponent, Clearing clearing,
|
VerificationResultComponent verificationResultComponent, Clearing clearing,
|
||||||
ExecutionDepositComponent executionDepositComponent) {
|
ExecutionDepositComponent executionDepositComponent,
|
||||||
|
ExecutionFondComponent executionFondComponent) {
|
||||||
this.sdfCreator = sdfCreator;
|
this.sdfCreator = sdfCreator;
|
||||||
this.paymentUpdater = paymentUpdater;
|
this.paymentUpdater = paymentUpdater;
|
||||||
this.verificationResultComponent = verificationResultComponent;
|
this.verificationResultComponent = verificationResultComponent;
|
||||||
this.executionDepositComponent = executionDepositComponent;
|
this.executionDepositComponent = executionDepositComponent;
|
||||||
this.clearing = clearing;
|
this.clearing = clearing;
|
||||||
|
this.executionFondComponent = executionFondComponent;
|
||||||
this.executor = Executors.newSingleThreadExecutor();
|
this.executor = Executors.newSingleThreadExecutor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -101,6 +104,7 @@ public class ClearingService implements DisposableBean {
|
||||||
executor.execute(() -> {
|
executor.execute(() -> {
|
||||||
try {
|
try {
|
||||||
executionDepositComponent.processNewTS();
|
executionDepositComponent.processNewTS();
|
||||||
|
executionFondComponent.processNewTS();
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
log.error("{}", ExceptionUtils.getStackTrace(e));
|
log.error("{}", ExceptionUtils.getStackTrace(e));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue