Class MongoDBRepositoryService
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.core.storage.mongodb.MongoDBRepositoryService
-
- All Implemented Interfaces:
Adaptable
,Component
,Extensible
,TimestampedService
public class MongoDBRepositoryService extends DefaultComponent
Service holding the configuration for MongoDB repositories.- Since:
- 5.9.4
-
-
Field Summary
Fields Modifier and Type Field Description static String
DB_DEFAULT
-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description MongoDBRepositoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
handleConnectionContribution(MongoDBRepositoryDescriptor descriptor, BiConsumer<DefaultComponent,MongoDBConnectionConfig> consumer)
Deprecated.since 9.3void
registerContribution(Object contrib, String xpoint, ComponentInstance contributor)
void
unregisterContribution(Object contrib, String xpoint, ComponentInstance contributor)
-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
DB_DEFAULT
public static final String DB_DEFAULT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MongoDBRepositoryService
public MongoDBRepositoryService()
-
-
Method Detail
-
registerContribution
public void registerContribution(Object contrib, String xpoint, ComponentInstance contributor)
- Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contrib, String xpoint, ComponentInstance contributor)
- Overrides:
unregisterContribution
in classDefaultComponent
-
handleConnectionContribution
@Deprecated protected void handleConnectionContribution(MongoDBRepositoryDescriptor descriptor, BiConsumer<DefaultComponent,MongoDBConnectionConfig> consumer)
Deprecated.since 9.3Backward compatibility fordescriptor.server
anddescriptor.dbname
- Since:
- 9.3
-
-