Interface Repository
- All Known Implementing Classes:
BlockchainRepository,FileSystemRepository,SharedStorageRepository
public interface Repository
a repository provides the
ClassManager with needed libraries (jars) in form of
LoadedLibrary implementations-
Method Summary
Modifier and TypeMethodDescriptionget a library matching name and version of the given identifierfindLibrary(String name) get the newest library for the given name
-
Method Details
-
findLibrary
get the newest library for the given name- Parameters:
name- A library name- Returns:
- a loaded library for the given library name
- Throws:
LibraryNotFoundException- If the library was not found in this repository
-
findLibrary
get a library matching name and version of the given identifier- Parameters:
lib- A library identifier- Returns:
- a loaded library for the given identifier
- Throws:
LibraryNotFoundException- If the library was not found in this repository
-