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 Details

    • TRANSFER_FREQUENCY_TYPES_ID

      private static final String TRANSFER_FREQUENCY_TYPES_ID
      Transfer frequency types operation identifier.
      See Also:
    • TRANSFER_MODES_ID

      private static final String TRANSFER_MODES_ID
      Transfer modes operation identifier.
      See Also:
    • log

      private final es.kukenan.smartfi.logger.WalletLogger log
      Logger.
    • backofficeInternalOperationProperties

      @Autowired private BackofficeInternalOperationProperties backofficeInternalOperationProperties
      Backoffice internal operation properties.
    • transferService

      @Autowired private TransferService 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:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
      Parameters:
      event - ApplicationReadyEvent event.
    • doCall

      private void doCall(List<Integer> backoffices, Function<Integer,es.kukenan.smartfi.microservice.transfer.api.transfer.TransfersDataCatalogDto> function)