scala-play-server.app.module.scala.mustache Maven / Gradle / Ivy
package {{basePackage}}
import {{apiPackage}}._
import play.api.inject.{Binding, Module => PlayModule}
import play.api.{Configuration, Environment}
{{>generatedAnnotation}}
class Module extends PlayModule {
override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]] = Seq(
{{#apiInfo}}
{{#apis}}
bind[{{classname}}].to[{{classname}}Impl]{{^-last}},{{/-last}}
{{/apis}}
{{/apiInfo}}
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy