Class MongoDBComponent

java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.runtime.mongodb.MongoDBComponent
All Implemented Interfaces:
Adaptable, Component, Extensible, MongoDBConnectionService, TimestampedService

public class MongoDBComponent extends DefaultComponent implements MongoDBConnectionService
Component used to get a database connection to MongoDB. Don't expose MongoClient directly, because it's this component which is responsible for creating and closing it.
Since:
9.1