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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Repository
getRepository(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 Detail
-
getRepository
Repository getRepository(String repositoryURI) throws RepositoryException
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
void returnRepository(Repository repository)
Returns the repository back to the provider After returning, the caller cannot use the repository any more.- Parameters:
repository
-
-
-