org.qi4j.library.rdf.repository
Class NativeRepositoryService.NativeRepositoryMixin
java.lang.Object
org.qi4j.library.rdf.repository.NativeRepositoryService.NativeRepositoryMixin
- All Implemented Interfaces:
- org.openrdf.repository.Repository, Activatable, ResetableRepository
- Enclosing interface:
- NativeRepositoryService
public static class NativeRepositoryService.NativeRepositoryMixin
- 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 |
NativeRepositoryService.NativeRepositoryMixin
public NativeRepositoryService.NativeRepositoryMixin()
activate
public void activate()
throws UnitOfWorkCompletionException,
org.openrdf.repository.RepositoryException
- Description copied from interface:
Activatable
- This is invoked on the service when the instance is being activated
- Specified by:
activate
in interface Activatable
- Throws:
UnitOfWorkCompletionException
org.openrdf.repository.RepositoryException
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