public class SingletonRepositoryFactory extends Object implements RepositoryFactory
Constructor and Description |
---|
SingletonRepositoryFactory(Repository repository)
Creates a repository factory that always returns the given repository.
|
public SingletonRepositoryFactory(Repository repository)
repository
- singleton repository instance.public Repository getRepository()
getRepository
in interface RepositoryFactory
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"