All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.dict.DictServicesFactoryLoader.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.dict

import pl.touk.nussknacker.engine.api.dict.DictServicesFactory
import pl.touk.nussknacker.engine.util.loader.{LoadClassFromClassLoader, ScalaServiceLoader}

object DictServicesFactoryLoader extends LoadClassFromClassLoader {
  override type ClassToLoad = DictServicesFactory
  override val prettyClassName: String = "DictServicesFactory"

  override def loadAll(classLoader: ClassLoader): List[DictServicesFactory] = {
    List(ScalaServiceLoader.loadClass[DictServicesFactory](classLoader) {
      SimpleDictServicesFactory
    })
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy