Package fr.gouv.vitam.worker.core.impl
Class WorkerFactory
java.lang.Object
fr.gouv.vitam.worker.core.impl.WorkerFactory
WorkerImpl Factory to create workerImpl
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
static WorkerFactory
getInstance
(PluginLoader pluginLoader) return the only instance ofWorkerFactory
.
-
Method Details
-
getInstance
return the only instance ofWorkerFactory
. Build the instance at the first call. This method is synchronised, for performance issue, please call only one time.- Parameters:
pluginLoader
- the plugin loader- Returns:
WorkerFactory
-
create
- Returns:
- WorkerImpl
-