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

net.spals.appbuilder.app.examples.finatra.sample.SampleFinatraTwitterModule.scala Maven / Gradle / Ivy

package net.spals.appbuilder.app.examples.finatra.sample

import com.google.inject.name.Names
import com.twitter.inject.TwitterModule

/**
  * A sample [[TwitterModule]] for
  * [[net.spals.appbuilder.app.finatra.FinatraWebApp#addModule]]
  *
  * @author tkral
  */
private[sample] class SampleFinatraTwitterModule extends TwitterModule {
  override protected def configure(): Unit = {
    binder.bind(classOf[String]).annotatedWith(Names.named("TwitterModule"))
      .toInstance(this.getClass.getSimpleName)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy