org.qi4j.library.rdf.repository
Class RdbmsRepositoryService.RdbmsRepositoryMixin

java.lang.Object
  extended by org.qi4j.library.rdf.repository.RdbmsRepositoryService.RdbmsRepositoryMixin
All Implemented Interfaces:
org.openrdf.repository.Repository, Activatable
Enclosing interface:
RdbmsRepositoryService

public static class RdbmsRepositoryService.RdbmsRepositoryMixin
extends Object
implements org.openrdf.repository.Repository, Activatable


Constructor Summary
RdbmsRepositoryService.RdbmsRepositoryMixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 org.openrdf.repository.RepositoryConnection getConnection()
           
 File getDataDir()
           
 org.openrdf.model.ValueFactory getValueFactory()
           
 void initialize()
           
 boolean isWritable()
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 void setDataDir(File file)
           
 void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbmsRepositoryService.RdbmsRepositoryMixin

public RdbmsRepositoryService.RdbmsRepositoryMixin()
Method Detail

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 file)
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