Class AccessExternalClientV2Factory
java.lang.Object
fr.gouv.vitam.common.external.client.VitamClientFactory<AccessExternalClientV2>
fr.gouv.vitam.access.external.client.v2.AccessExternalClientV2Factory
- All Implemented Interfaces:
- VitamClientFactoryInterface<AccessExternalClientV2>
Access External Client Factory
Used to create access client : if configuration file does not exist 'access-external-client.conf',
mock access client will be returned
Used to create access client : if configuration file does not exist 'access-external-client.conf',
mock access client will be returned
- 
Nested Class SummaryNested classes/interfaces inherited from interface fr.gouv.vitam.common.client.VitamClientFactoryInterfaceVitamClientFactoryInterface.VitamClientType
- 
Field SummaryFields inherited from class fr.gouv.vitam.common.external.client.VitamClientFactoryclientConfiguration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidchangeMode(ClientConfiguration configuration) JUnit only!!This method returns the correct Client adapted to the business casestatic final AccessExternalClientV2FactoryGet the AccessClientFactory instanceMethods inherited from class fr.gouv.vitam.common.external.client.VitamClientFactorychangeResourcePath, changeServerPort, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
- 
Constructor Details- 
AccessExternalClientV2Factoryprotected AccessExternalClientV2Factory()
 
- 
- 
Method Details- 
getInstanceGet the AccessClientFactory instance- Returns:
- the instance
 
- 
getClientDescription copied from interface:VitamClientFactoryInterfaceThis method returns the correct Client adapted to the business case- Returns:
- the Vitam client
 
- 
changeModeJUnit only!!- Parameters:
- configuration- null for MOCK
 
 
-