Package org.hippoecm.hst.core.jcr.pool
Interface JcrRepositoryProvider
public interface JcrRepositoryProvider
Interface to define the contract between service provider and jcr session pool.
The jcr session pool expects the service provider to give a implementation for this.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptiongetRepository
(String repositoryURI) Retrieves JCR Repository from this provider by specifying a repository URI.void
returnRepository
(Repository repository) Returns the repository back to the provider After returning, the caller cannot use the repository any more.
-
Method Details
-
getRepository
Retrieves JCR Repository from this provider by specifying a repository URI.- Parameters:
repositoryURI
- the URI for the repository- Returns:
- javax.jcr.Repository
- Throws:
RepositoryException
-
returnRepository
Returns the repository back to the provider After returning, the caller cannot use the repository any more.- Parameters:
repository
-
-