Class NotifyingLocalRepositoryManager
java.lang.Object
org.eclipse.rdf4j.repository.manager.RepositoryManager
org.eclipse.rdf4j.repository.manager.LocalRepositoryManager
org.eclipse.rdf4j.repository.manager.util.NotifyingLocalRepositoryManager
- All Implemented Interfaces:
HttpClientDependent
,RepositoryResolver
NotifyingLocalRepositoryManager extends LocalRepositoryManager with support for registering listeners. In time this
class is likely to become redundant as RepositoryManager may be extended with listener support. This functionality
can currently not be implemented as a wrapper around any existing RepositoryManager due to the fact that
RepositoryManager defines abstract protected methods. A wrapper class cannot implement these methods in a meaningful
way by itself and, because of the protected access, cannot invoke it on the wrapped RepositoryManager either.
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.repository.manager.LocalRepositoryManager
REPOSITORIES_DIR
Fields inherited from class org.eclipse.rdf4j.repository.manager.RepositoryManager
initializedRepositories, logger, NAMESPACE, PROXIED_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.rdf4j.repository.manager.LocalRepositoryManager
addRepositoryConfig, createRepository, getAllRepositoryInfos, getBaseDir, getFederatedServiceResolver, getHttpClient, getLocation, getRepositoryConfig, getRepositoryDir, getRepositoryInfo, getSesameClient, migrateToNewConfigVocabulary, removeRepository, resolvePath, setHttpClient
Methods inherited from class org.eclipse.rdf4j.repository.manager.RepositoryManager
getAllRepositories, getAllRepositoryInfos, getAllUserRepositoryInfos, getInitializedRepositories, getInitializedRepositoryIDs, getModelFactory, getNewRepositoryID, getRepository, getRepositoryIDs, hasRepositoryConfig, isInitialized, isSafeToRemove, setInitializedRepositories, setModelFactory, updateInitializedRepositories
-
Constructor Details
-
NotifyingLocalRepositoryManager
-
-
Method Details
-
addRepositoryManagerListener
-
removeRepositoryManagerListener
-
init
Description copied from class:RepositoryManager
Initializes the repository manager.- Overrides:
init
in classRepositoryManager
- Throws:
RepositoryException
- If the manager failed to initialize.
-
refresh
public void refresh()Description copied from class:RepositoryManager
Shuts down all initialized user repositories.- Overrides:
refresh
in classRepositoryManager
- See Also:
-
shutDown
public void shutDown()Description copied from class:RepositoryManager
Shuts down all initialized repositories.- Overrides:
shutDown
in classLocalRepositoryManager
- See Also:
-