Package fr.gouv.vitam.metadata.client
Class MetaDataClientFactory
java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<MetaDataClient>
fr.gouv.vitam.metadata.client.MetaDataClientFactory
- All Implemented Interfaces:
VitamClientFactoryInterface<MetaDataClient>
Metadata client factory
-
Nested Class Summary
Nested classes/interfaces inherited from interface fr.gouv.vitam.common.client.VitamClientFactoryInterface
VitamClientFactoryInterface.VitamClientType
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.client.VitamClientFactory
clientConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
changeMode
(ClientConfiguration configuration) This method returns the correct Client adapted to the business casestatic MetaDataClientFactory
Get factory instancestatic MetaDataClientFactory
getInstance
(MetadataType metadataType) Methods inherited from class fr.gouv.vitam.common.client.VitamClientFactory
changeResourcePath, changeServerPort, disableUseAuthorizationFilter, enableUseAuthorizationFilter, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, getVitamThreadPoolExecutor, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
-
Method Details
-
changeMode
- Parameters:
configuration
- null for MOCK
-
getInstance
Get factory instance- Returns:
- the factory instance
-
getInstance
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-