public interface Repositories
Repository
instances. This interface helps
decouple applications that use JCR repositories from the actual JCR implementation.Modifier and Type | Method and Description |
---|---|
Repository |
getRepository(String repositoryName)
Return the JCR Repository with the supplied name.
|
Set<String> |
getRepositoryNames()
Get the names of the available repositories.
|
Set<String> getRepositoryNames()
Repository getRepository(String repositoryName) throws RepositoryException
repositoryName
- the name of the repository to return; may not be nullRepositoryException
- if no repository exists with the given name or there is an error communicating with
the repositoryCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.