public class MongoDBRepositoryService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
DB_DEFAULT |
lastModified
Constructor and Description |
---|
MongoDBRepositoryService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addContribution(MongoDBRepositoryDescriptor descriptor) |
protected void |
handleConnectionContribution(MongoDBRepositoryDescriptor descriptor,
BiConsumer<DefaultComponent,MongoDBConnectionConfig> consumer)
Deprecated.
since 9.3
|
void |
registerContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
protected void |
removeContribution(MongoDBRepositoryDescriptor descriptor) |
void |
unregisterContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final String DB_DEFAULT
public MongoDBRepositoryService()
public void registerContribution(Object contrib, String xpoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contrib, String xpoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
protected void addContribution(MongoDBRepositoryDescriptor descriptor)
protected void removeContribution(MongoDBRepositoryDescriptor descriptor)
@Deprecated protected void handleConnectionContribution(MongoDBRepositoryDescriptor descriptor, BiConsumer<DefaultComponent,MongoDBConnectionConfig> consumer)
descriptor.server
and
descriptor.dbname
Copyright © 2018 Nuxeo. All rights reserved.