@Singleton @Named(value="simple") public class SimpleLocalRepositoryManagerFactory extends Object implements LocalRepositoryManagerFactory
"simple".| Constructor and Description |
|---|
SimpleLocalRepositoryManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
float |
getPriority()
The priority of this factory.
|
LocalRepositoryManager |
newInstance(RepositorySystemSession session,
LocalRepository repository)
Tries to create a repository manager for the specified local repository.
|
SimpleLocalRepositoryManagerFactory |
setPriority(float priority)
Sets the priority of this component.
|
public SimpleLocalRepositoryManagerFactory()
public LocalRepositoryManager newInstance(RepositorySystemSession session, LocalRepository repository) throws NoLocalRepositoryManagerException
LocalRepositoryManagerFactorytype, which may for example denote the used directory
structure.newInstance in interface LocalRepositoryManagerFactorysession - The repository system session from which to configure the manager, must not be null.repository - The local repository to create a manager for, must not be null.null.NoLocalRepositoryManagerException - If the factory cannot create a manager for the specified local
repository.public float getPriority()
LocalRepositoryManagerFactorygetPriority in interface LocalRepositoryManagerFactorypublic SimpleLocalRepositoryManagerFactory setPriority(float priority)
priority - The priority.null.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.