Class WorkerFactory

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

public final class WorkerFactory extends Object
WorkerImpl Factory to create workerImpl
  • 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