Class ApplicationStarterListener
java.lang.Object
es.kukenan.smartfi.microservice.transfer.config.ApplicationStarterListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
@Component
public class ApplicationStarterListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
Application starter listener.
-
Field Summary
FieldsModifier and TypeFieldDescriptionBackoffice internal operation properties.private final es.kukenan.smartfi.logger.WalletLoggerLogger.private static final StringTransfer frequency types operation identifier.private static final StringTransfer modes operation identifier.private TransferServiceTransfer service. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddoCall(List<Integer> backoffices, Function<Integer, es.kukenan.smartfi.microservice.transfer.api.transfer.TransfersDataCatalogDto> function) voidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) On application started logic.
-
Field Details
-
TRANSFER_FREQUENCY_TYPES_ID
Transfer frequency types operation identifier.- See Also:
-
TRANSFER_MODES_ID
Transfer modes operation identifier.- See Also:
-
log
private final es.kukenan.smartfi.logger.WalletLogger logLogger. -
backofficeInternalOperationProperties
Backoffice internal operation properties. -
transferService
Transfer service.
-
-
Constructor Details
-
ApplicationStarterListener
public ApplicationStarterListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) On application started logic.- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>- Parameters:
event-ApplicationReadyEventevent.
-
doCall
-