play.modules.reactivemongo
Can be used for a custom application loader.
import play.api.ApplicationLoader class MyApplicationLoader extends ApplicationLoader { def load(context: ApplicationLoader.Context) = new MyComponents(context).application } class MyComponents(context: ApplicationLoader.Context) extends ReactiveMongoApiFromContext(context) { lazy val router = play.api.routing.Router.empty }
The API initialized according the current configuration
(Since version 2.5.x) Use dependency injection
Can be used for a custom application loader.