public interface JcrRepositoryProvider
Modifier and Type | Method and Description |
---|---|
javax.jcr.Repository |
getRepository(String repositoryURI)
Retrieves JCR Repository from this provider by specifying a repository URI.
|
void |
returnRepository(javax.jcr.Repository repository)
Returns the repository back to the provider
After returning, the caller cannot use the repository any more.
|
javax.jcr.Repository getRepository(String repositoryURI) throws javax.jcr.RepositoryException
repositoryURI
- the URI for the repositoryjavax.jcr.RepositoryException
void returnRepository(javax.jcr.Repository repository)
repository
- Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.