|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalRepositoryManagerFactory
A factory to create managers for the local repository. A local repository manager needs to keep track of artifacts
and metadata and manage access. When the repository system needs a repository manager for a given local repository,
it iterates the registered factories in descending order of their priority and calls
newInstance(LocalRepository) on them. The first manager returned by a factory will then be used for the
local repository.
| Method Summary | |
|---|---|
int |
getPriority()
The priority of this factory. |
LocalRepositoryManager |
newInstance(LocalRepository repository)
Tries to create a repository manager for the specified local repository. |
| Method Detail |
|---|
LocalRepositoryManager newInstance(LocalRepository repository)
throws NoLocalRepositoryManagerException
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.int getPriority()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||