java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.backoffice.core.CoreClient
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Component public class CoreClient extends Object implements org.springframework.beans.factory.InitializingBean
Core HTTP API based client.
  • Field Details

  • Constructor Details

    • CoreClient

      public CoreClient()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Initializing logic.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • findApiClientBySubsystem

      public AbstractCoreApiClient findApiClientBySubsystem(String subsystem)
      Find the API client that handles the given subsystem.
      Parameters:
      subsystem - the subsystem of the client to find.
      Returns:
      the API client that handles the given subsystem.