Class HubWorkerFactory

All Implemented Interfaces:
Cloneable

public class HubWorkerFactory extends AbstrHubWorkerFactory<HubWorker>
Factory for creating instances of HubWorkerFactory.

The parameters this factory uses are defined as follows:

  • Constructor Details

    • HubWorkerFactory

      public HubWorkerFactory(DramaSimulation sim)
      Constructor.
      Parameters:
      sim - the simulation
    • HubWorkerFactory

      public HubWorkerFactory()
      Constructor for a service provider. This constructor should not be used directly. It is necessary because of the introduction of modules in Java 9, and is used by a service provider that allows factories to be listed, possibly with documentation regarding their parameters. It just calls the default constructor with a null argument.
  • Method Details