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 |
---|---|
List<NuxeoRepository> |
getRepositories() |
NuxeoRepository |
getRepository(String repositoryId) |
protected void |
initRepositories() |
void |
start(ComponentContext context)
Start the component.
|
void |
stop(ComponentContext context)
Stop the component.
|
activate, deactivate, getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
protected Map<String,NuxeoRepository> repositories
public NuxeoRepositories()
public void start(ComponentContext context)
Component
start
in interface Component
start
in class DefaultComponent
public void stop(ComponentContext context)
Component
stop
in interface Component
stop
in class DefaultComponent
public NuxeoRepository getRepository(String repositoryId)
public List<NuxeoRepository> getRepositories()
protected void initRepositories()
Copyright © 2018 Nuxeo. All rights reserved.