org.qi4j.library.rdf.repository
Class MemoryRepositoryService.MemoryRepositoryMixin

java.lang.Object
  extended by org.qi4j.library.rdf.repository.MemoryRepositoryService.MemoryRepositoryMixin
All Implemented Interfaces:
org.openrdf.repository.Repository, Composite, Identity, ServiceComposite, MemoryRepositoryService, ResetableRepository
Enclosing interface:
MemoryRepositoryService

public abstract static class MemoryRepositoryService.MemoryRepositoryMixin
extends java.lang.Object
implements MemoryRepositoryService, ResetableRepository


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.library.rdf.repository.MemoryRepositoryService
MemoryRepositoryService.Activator, MemoryRepositoryService.MemoryRepositoryMixin
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Constructor Summary
MemoryRepositoryService.MemoryRepositoryMixin()
           
 
Method Summary
 void discardEntireRepository()
           
 org.openrdf.repository.RepositoryConnection getConnection()
           
 java.io.File getDataDir()
           
 org.openrdf.model.ValueFactory getValueFactory()
           
 void initialize()
           
 boolean isInitialized()
           
 boolean isWritable()
           
 void setDataDir(java.io.File dataDir)
           
 void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Constructor Detail

MemoryRepositoryService.MemoryRepositoryMixin

public MemoryRepositoryService.MemoryRepositoryMixin()
Method Detail

initialize

public void initialize()
                throws org.openrdf.repository.RepositoryException
Specified by:
initialize in interface org.openrdf.repository.Repository
Specified by:
initialize in interface MemoryRepositoryService
Throws:
org.openrdf.repository.RepositoryException

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface org.openrdf.repository.Repository

shutDown

public void shutDown()
              throws org.openrdf.repository.RepositoryException
Specified by:
shutDown in interface org.openrdf.repository.Repository
Specified by:
shutDown in interface MemoryRepositoryService
Throws:
org.openrdf.repository.RepositoryException

setDataDir

public void setDataDir(java.io.File dataDir)
Specified by:
setDataDir in interface org.openrdf.repository.Repository

getDataDir

public java.io.File getDataDir()
Specified by:
getDataDir in interface org.openrdf.repository.Repository

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