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, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected DBSRepositoryService.DBSRepositoryDescriptorRegistry registry
public DBSRepositoryService()
public void activate(ComponentContext context)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - 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.