public class ClassloaderRuntimeRepositoryManager extends AbstractRuntimeRepositoryManager
IRuntimeRepositoryManager for the ClassloaderRuntimeRepository. You do
not really need a IRuntimeRepositoryManager for ClassloaderRuntimeRepository and
in fact this manager always return the same IRuntimeRepository.
Use this IRuntimeRepositoryManager if you think about changing the runtime repository to
another e.g. DetachedContentRuntimeRepository that need to use a
IRuntimeRepositoryManager later.
| Constructor and Description |
|---|
ClassloaderRuntimeRepositoryManager(ClassLoader classLoader,
String basePackage,
String pathToToc)
The constructor needs all the information to create a
ClassloaderRuntimeRepository |
| Modifier and Type | Method and Description |
|---|---|
protected IRuntimeRepository |
createNewRuntimeRepository()
Creates a new repository.
|
protected boolean |
isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository)
Checks whether the
IRuntimeRepository is up to date or not. |
addDirectlyReferencedManager, getActualRuntimeRepository, getAllReferencedRepositoryManagers, getCurrentRuntimeRepository, getDirectlyReferencedRepositoryManagerspublic ClassloaderRuntimeRepositoryManager(ClassLoader classLoader, String basePackage, String pathToToc)
ClassloaderRuntimeRepositoryprotected IRuntimeRepository createNewRuntimeRepository()
AbstractRuntimeRepositoryManagercreateNewRuntimeRepository in class AbstractRuntimeRepositoryManagerIRuntimeRepositoryprotected boolean isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository)
AbstractRuntimeRepositoryManagerIRuntimeRepository is up to date or not. If this method returns
false, a new repository has to be created.isRepositoryUpToDate in class AbstractRuntimeRepositoryManageractualRuntimeRepository - the runtime repository that has to be checkedCopyright © 2018. All rights reserved.