Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.api
Interface Repositories

All Known Implementing Classes:
  JcrEngine

    public interface Repositories

Representation of a generic container of multiple `Repository` instances. This interface helps decouple applications that use JCR repositories from the actual JCR implementation.

Method Summary
`Repository` | `getRepository(String repositoryName)` Return the JCR Repository with the supplied name.
`Set<String>` | `getRepositoryNames()` Get the names of the available repositories.

Method Detail

### getRepositoryNames

    Set<String> getRepositoryNames()

  Get the names of the available repositories.

  Returns:
    the immutable set of repository names provided by this server; never null

### getRepository

    Repository getRepository(String repositoryName)
                             throws RepositoryException

  Return the JCR Repository with the supplied name.

  Parameters:
    `repositoryName` - the name of the repository to return; may not be null
  Returns:
    the repository with the given name; never null
  Throws:
    `RepositoryException` - if no repository exists with the given name or there is an error communicating with the repository

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.