public class SingletonRepositoryFactory extends java.lang.Object implements RepositoryFactory
Constructor and Description |
---|
SingletonRepositoryFactory(Repository repository)
Creates a repository factory that always returns the given repository.
|
Modifier and Type | Method and Description |
---|---|
Repository |
getRepository()
Returns the configured repository instance.
|
public SingletonRepositoryFactory(Repository repository)
repository
- singleton repository instance.public Repository getRepository()
getRepository
in interface RepositoryFactory
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"