Class SolverFactoryLoader

java.lang.Object
fr.univartois.cril.juniverse.utils.SolverFactoryLoader

public final class SolverFactoryLoader extends Object
The SolverFactoryLoader loads all implementations of IUniverseSolverFactory that are present in the classpath.
  • Method Details

    • getInstance

      public static SolverFactoryLoader getInstance()
      Gives the single instance of SolverFactoryLoader.
      Returns:
      The SolverFactoryLoader's single instance.
    • getFactories

      public List<IUniverseSolverFactory> getFactories()
      Gives a list of instances of all available IUniverseSolverFactory implementations in the classpath.
      Returns:
      A list of available factories.