public class NuxeoRepositories extends DefaultComponent
Information is cached, and an initial connection to the repository is needed to get the root folder id.
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,NuxeoRepository> |
repositories |
lastModified| Constructor and Description |
|---|
NuxeoRepositories() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
List<NuxeoRepository> |
getRepositories() |
NuxeoRepository |
getRepository(String repositoryId) |
protected void |
initRepositories() |
getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected Map<String,NuxeoRepository> repositories
public NuxeoRepositories()
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 NuxeoRepository getRepository(String repositoryId)
public List<NuxeoRepository> getRepositories()
protected void initRepositories()
Copyright © 2018 Nuxeo. All rights reserved.