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 Type
    Method
    Description
    getRepository(String repositoryURI)
    Retrieves JCR Repository from this provider by specifying a repository URI.
    void
    Returns the repository back to the provider After returning, the caller cannot use the repository any more.
  • Method Details

    • 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 -