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)
This method 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 have to be createdisRepositoryUpToDate in class AbstractRuntimeRepositoryManageractualRuntimeRepository - The actual runtime repository that have to be checkedCopyright © 2014. All rights reserved.