org.openrdf.repository.manager.util
Class NotifyingLocalRepositoryManager
java.lang.Object
org.openrdf.repository.manager.RepositoryManager
org.openrdf.repository.manager.LocalRepositoryManager
org.openrdf.repository.manager.util.NotifyingLocalRepositoryManager
public class NotifyingLocalRepositoryManager
- extends LocalRepositoryManager
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.
| Methods inherited from class org.openrdf.repository.manager.RepositoryManager |
addRepositoryConfig, getAllRepositories, getAllRepositoryInfos, getAllUserRepositoryInfos, getInitializedRepositories, getInitializedRepositoryIDs, getNewRepositoryID, getRepository, getRepositoryConfig, getRepositoryIDs, hasRepositoryConfig, removeRepositoryConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotifyingLocalRepositoryManager
public NotifyingLocalRepositoryManager(File baseDir)
addRepositoryManagerListener
public void addRepositoryManagerListener(RepositoryManagerListener listener)
removeRepositoryManagerListener
public void removeRepositoryManagerListener(RepositoryManagerListener listener)
initialize
public void initialize()
throws RepositoryException
- Description copied from class:
RepositoryManager
- Initializes the repository manager.
- Overrides:
initialize in class RepositoryManager
- Throws:
RepositoryException - If the manager failed to initialize the SYSTEM repository.
refresh
public void refresh()
- Description copied from class:
RepositoryManager
- Shuts down all initialized user repositories.
- Overrides:
refresh in class RepositoryManager
- See Also:
RepositoryManager.shutDown()
shutDown
public void shutDown()
- Description copied from class:
RepositoryManager
- Shuts down all initialized repositories, including the SYSTEM repository.
- Overrides:
shutDown in class RepositoryManager
- See Also:
RepositoryManager.refresh()
Copyright © 2001-2008 Aduna. All Rights Reserved.