Package fr.gouv.vitam.workspace.client
Class WorkspaceCollectClientFactory
java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<WorkspaceClient>
fr.gouv.vitam.workspace.client.WorkspaceClientFactory
fr.gouv.vitam.workspace.client.WorkspaceCollectClientFactory
- All Implemented Interfaces:
VitamClientFactoryInterface<WorkspaceClient>
WorkspaceClient factory for creating workspace client
-
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
(String serviceUrl, WorkFlowExecutionContext executionContext) change mode client by server urlThis method returns the correct Client adapted to the business caseGet the WorkspaceClientFactory instanceMethods inherited from class fr.gouv.vitam.workspace.client.WorkspaceClientFactory
getInstance
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
-
getInstance
Get the WorkspaceClientFactory instance- Returns:
- the instance
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Specified by:
getClient
in interfaceVitamClientFactoryInterface<WorkspaceClient>
- Overrides:
getClient
in classWorkspaceClientFactory
- Returns:
- the Vitam client
-
changeMode
change mode client by server url- Parameters:
serviceUrl
- as String
-