Package

play.modules

reactivemongo

Permalink

package reactivemongo

Visibility
  1. Public
  2. All

Type Members

  1. abstract class CollectionResolution[C <: Collection] extends WithCollection[C]

    Permalink

    import reactivemongo.play.json.collection.JSONCollection
    
    class MyComponent extends CollectionResolution[JSONCollection]("collName") {
      def database: Future[DefaultDB] = ???
    }
  2. final class DefaultReactiveMongoApi extends ReactiveMongoApi

    Permalink

    Default implementation of ReactiveMongoApi.

  3. class JSONFileToSave extends FileToSave[JSONSerializationPack.type, JsValue]

    Permalink

    A JSON implementation of FileToSave.

  4. trait MongoController extends Controller

    Permalink

    A mixin for controllers that will provide MongoDB actions.

  5. class NamedDatabase extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  6. class NamedDatabaseImpl extends NamedDatabase with Serializable

    Permalink
  7. trait ReactiveMongoApi extends AnyRef

    Permalink

    MongoDB API

  8. trait ReactiveMongoApiComponents extends AnyRef

    Permalink
  9. abstract class ReactiveMongoApiFromContext extends api.BuiltInComponentsFromContext with ReactiveMongoApiComponents

    Permalink

    Can be used for a custom application loader.

    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
      lazy val httpFilters = Seq.empty[play.api.mvc.EssentialFilter]
    }
  10. trait ReactiveMongoComponents extends AnyRef

    Permalink

    Cake pattern components.

  11. final class ReactiveMongoModule extends Module

    Permalink

    MongoDB module.

    MongoDB module.

    Annotations
    @Singleton()
  12. class ReactiveMongoPluginException extends RuntimeException

    Permalink
  13. trait WithCollection[C <: Collection] extends AnyRef

    Permalink

    import reactivemongo.play.json.collection.JSONCollection
    
    class MyComponent(
      val collectionName: String) extends WithCollection[JSONCollection] {
      def database: Future[DefaultDB] = ???
    }

Value Members

  1. object Formatters

    Permalink

    Instances of Play Formatter for the ReactiveMongo types.

  2. object JSONFileToSave

    Permalink

    Factory of JSONFileToSave.

  3. object MongoController

    Permalink
  4. object PathBindables

    Permalink

    Instances of Play PathBindable for the ReactiveMongo types.

  5. object PlaySupport

    Permalink
  6. object ReactiveMongoModule

    Permalink

Ungrouped