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 RepositoryFactoryCopyright © 2010 - 2023 Adobe. All Rights Reserved