org.qi4j.library.rdf.repository
Class MemoryRepositoryService.MemoryRepositoryMixin
java.lang.Object
org.qi4j.library.rdf.repository.MemoryRepositoryService.MemoryRepositoryMixin
- All Implemented Interfaces:
- org.openrdf.repository.Repository, Activatable, ResetableRepository
- Enclosing interface:
- MemoryRepositoryService
public static class MemoryRepositoryService.MemoryRepositoryMixin
- extends Object
- implements org.openrdf.repository.Repository, ResetableRepository, Activatable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryRepositoryService.MemoryRepositoryMixin
public MemoryRepositoryService.MemoryRepositoryMixin()
activate
public void activate()
throws Exception
- Description copied from interface:
Activatable
- This is invoked on the service when the instance is being activated
- Specified by:
activate
in interface Activatable
- Throws:
Exception
- if service could not be activated
passivate
public void passivate()
throws Exception
- Description copied from interface:
Activatable
- This is invoked on the service when the instance is being passivated
- Specified by:
passivate
in interface Activatable
- Throws:
Exception
- if the service could not be passivated
setDataDir
public void setDataDir(File dataDir)
- Specified by:
setDataDir
in interface org.openrdf.repository.Repository
getDataDir
public File getDataDir()
- Specified by:
getDataDir
in interface org.openrdf.repository.Repository
initialize
public void initialize()
throws org.openrdf.repository.RepositoryException
- Specified by:
initialize
in interface org.openrdf.repository.Repository
- Throws:
org.openrdf.repository.RepositoryException
shutDown
public void shutDown()
throws org.openrdf.repository.RepositoryException
- Specified by:
shutDown
in interface org.openrdf.repository.Repository
- Throws:
org.openrdf.repository.RepositoryException
isWritable
public boolean isWritable()
throws org.openrdf.repository.RepositoryException
- Specified by:
isWritable
in interface org.openrdf.repository.Repository
- Throws:
org.openrdf.repository.RepositoryException
getConnection
public org.openrdf.repository.RepositoryConnection getConnection()
throws org.openrdf.repository.RepositoryException
- Specified by:
getConnection
in interface org.openrdf.repository.Repository
- Throws:
org.openrdf.repository.RepositoryException
getValueFactory
public org.openrdf.model.ValueFactory getValueFactory()
- Specified by:
getValueFactory
in interface org.openrdf.repository.Repository
discardEntireRepository
public void discardEntireRepository()
throws org.openrdf.repository.RepositoryException
- Specified by:
discardEntireRepository
in interface ResetableRepository
- Throws:
org.openrdf.repository.RepositoryException