org.openrdf.elmo.tapestry
Class HiveMindSesameRepository
java.lang.Object
org.openrdf.elmo.tapestry.HiveMindSesameRepository
- All Implemented Interfaces:
- EventListener, RegistryShutdownListener, Repository
public class HiveMindSesameRepository
- extends Object
- implements Repository, RegistryShutdownListener
HiveMind aware Repository, the repository is closed when HiveMind shutdowns.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveMindSesameRepository
public HiveMindSesameRepository(Repository repository)
setApplicationId
public void setApplicationId(String applicationId)
getDataDir
public File getDataDir()
- Specified by:
getDataDir in interface Repository
setDataDir
public void setDataDir(File dataDir)
- Specified by:
setDataDir in interface Repository
setInitData
public void setInitData(Resource initData)
setRepositoryId
public void setRepositoryId(String repositoryId)
initialize
public void initialize()
- Specified by:
initialize in interface Repository
getRepository
protected Repository getRepository(File dir,
String id)
throws RepositoryException,
RepositoryConfigException
- Throws:
RepositoryException
RepositoryConfigException
getValueFactory
public ValueFactory getValueFactory()
- Specified by:
getValueFactory in interface Repository
isWritable
public boolean isWritable()
throws RepositoryException
- Specified by:
isWritable in interface Repository
- Throws:
RepositoryException
getConnection
public RepositoryConnection getConnection()
throws RepositoryException
- Specified by:
getConnection in interface Repository
- Throws:
RepositoryException
registryDidShutdown
public void registryDidShutdown()
- Specified by:
registryDidShutdown in interface RegistryShutdownListener
shutDown
public void shutDown()
throws RepositoryException
- Specified by:
shutDown in interface Repository
- Throws:
RepositoryException
Copyright © 2004-2008 Aduna. All Rights Reserved.