Class SingletonRepositoryFactory

java.lang.Object
org.apache.jackrabbit.commons.repository.SingletonRepositoryFactory
All Implemented Interfaces:
RepositoryFactory

public class SingletonRepositoryFactory extends Object implements RepositoryFactory
Repository factory that always returns the same configured repository.
  • Constructor Details

    • SingletonRepositoryFactory

      public SingletonRepositoryFactory(Repository repository)
      Creates a repository factory that always returns the given repository.
      Parameters:
      repository - singleton repository instance.
  • Method Details