Package fr.gouv.vitam.worker.core.impl

# Class WorkerFactory

java.lang.Object
fr.gouv.vitam.worker.core.impl.WorkerFactory

public final class WorkerFactory extends Object
WorkerImpl Factory to create workerImpl

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Worker`
  `create()`
  `static WorkerFactory`
  `getInstance(PluginLoader pluginLoader)`
  return the only instance of `WorkerFactory`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static WorkerFactory getInstance(PluginLoader pluginLoader)
    return the only instance of `WorkerFactory`. 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

    public Worker create()
    Returns:
      WorkerImpl