Class RepositoryProvider


  • @Provider
    public class RepositoryProvider
    extends Object
    A provider of JCR instances. It aims to provide, through the IoC mechanism, the Repository object through which Silverpeas access the JCR. For doing, the RepositoryProvider instance delegates the getting of such a repository to a RepositoryFactory object it gets through the Java Service Provider interface. So, and because it could have more than one such a factory, it selects the correct one by passing some parameters the factory implementation has to understand and to satisfy in order to create the corresponding Repository. The parameters and defined in a RepositorySettings instance.
    Author:
    mmoquillon