public class MongoDBRepositoryService extends DefaultComponent
Modifier and Type | Class and Description |
---|---|
protected static class |
MongoDBRepositoryService.RepositoryDescriptorRegistry |
Modifier and Type | Field and Description |
---|---|
protected MongoDBRepositoryService.RepositoryDescriptorRegistry |
registry |
lastModified
Constructor and Description |
---|
MongoDBRepositoryService() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
protected void |
addContribution(MongoDBRepositoryDescriptor descriptor) |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
MongoDBRepositoryDescriptor |
getRepositoryDescriptor(String name) |
void |
registerContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
protected void |
removeContribution(MongoDBRepositoryDescriptor descriptor) |
void |
unregisterContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
protected void |
updateRegistration(String repositoryName)
Update repository registration in high-level repository service.
|
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
protected MongoDBRepositoryService.RepositoryDescriptorRegistry registry
public MongoDBRepositoryService()
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic 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)
protected void updateRegistration(String repositoryName)
public MongoDBRepositoryDescriptor getRepositoryDescriptor(String name)
Copyright © 2015 Nuxeo SA. All rights reserved.