public class SingletonRepositoryFactory extends Object implements RepositoryFactory
Constructor and Description |
---|
SingletonRepositoryFactory(javax.jcr.Repository repository)
Creates a repository factory that always returns the given repository.
|
public SingletonRepositoryFactory(javax.jcr.Repository repository)
repository
- singleton repository instance.public javax.jcr.Repository getRepository()
getRepository
in interface RepositoryFactory
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.