Class AdminExternalClientFactory

java.lang.Object
fr.gouv.vitam.common.external.client.VitamClientFactory<AdminExternalClient>
fr.gouv.vitam.access.external.client.AdminExternalClientFactory
All Implemented Interfaces:
VitamClientFactoryInterface<AdminExternalClient>

public class AdminExternalClientFactory extends VitamClientFactory<AdminExternalClient>
Admin External Client Factory
Used to create admin external client : if configuration file does not exist 'access-external-client.conf',
mock access client will be returned
  • Method Details

    • getInstance

      public static final AdminExternalClientFactory getInstance()
      Get the AccessClientFactory instance
      Returns:
      the instance
    • getClient

      public AdminExternalClient getClient()
      Description copied from interface: VitamClientFactoryInterface
      This method returns the correct Client adapted to the business case
      Returns:
      the Vitam client
    • changeModeFromFile

      public static final void changeModeFromFile(String configurationFile)