public class DBSRepositoryService extends DefaultComponent
Modifier and Type | Class and Description |
---|---|
protected static class |
DBSRepositoryService.DBSRepositoryDescriptorRegistry |
Modifier and Type | Field and Description |
---|---|
protected DBSRepositoryService.DBSRepositoryDescriptorRegistry |
registry |
lastModified
Constructor and Description |
---|
DBSRepositoryService() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
addContribution(DBSRepositoryDescriptor descriptor,
Class<? extends DBSRepositoryFactory> factoryClass) |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
DBSRepositoryDescriptor |
getRepositoryDescriptor(String name) |
void |
removeContribution(DBSRepositoryDescriptor descriptor,
Class<? extends DBSRepositoryFactory> factoryClass) |
protected void |
updateRegistration(String repositoryName,
Class<? extends DBSRepositoryFactory> factoryClass)
Update repository registration in high-level repository service.
|
getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
protected DBSRepositoryService.DBSRepositoryDescriptorRegistry registry
public DBSRepositoryService()
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 addContribution(DBSRepositoryDescriptor descriptor, Class<? extends DBSRepositoryFactory> factoryClass)
public void removeContribution(DBSRepositoryDescriptor descriptor, Class<? extends DBSRepositoryFactory> factoryClass)
protected void updateRegistration(String repositoryName, Class<? extends DBSRepositoryFactory> factoryClass)
public DBSRepositoryDescriptor getRepositoryDescriptor(String name)
Copyright © 2018 Nuxeo. All rights reserved.