public class NuxeoRepositories extends DefaultComponent
Information is cached, and an initial connection to the repository is needed to get the root folder id.
Constructor and Description |
---|
NuxeoRepositories() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
static List<NuxeoRepository> |
getRepositories() |
static NuxeoRepository |
getRepository(String repositoryId) |
activate, applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public void deactivate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activationpublic static void clear()
public static NuxeoRepository getRepository(String repositoryId)
public static List<NuxeoRepository> getRepositories()
Copyright © 2013 Nuxeo SA. All Rights Reserved.