org.jrdf.graph.global.factory
Class GlobalizedGraphMemFactoryImpl

java.lang.Object
  extended by org.jrdf.graph.global.factory.GlobalizedGraphMemFactoryImpl
All Implemented Interfaces:
GlobalizedGraphFactory

public class GlobalizedGraphMemFactoryImpl
extends Object
implements GlobalizedGraphFactory

Factory for creating globalized graph in memory implementation. User: imrank Date: 13/09/2007 Time: 11:21:19


Constructor Summary
GlobalizedGraphMemFactoryImpl(TripleComparator comparator)
           
 
Method Summary
 GlobalizedGraph getNewGlobalizedGraph()
          Create a new JRDF globalized graph depending on the current configuration.
 SparqlConnection getNewSparqlConnection()
          Create a new connection to perform SPARQL operations depending on the current configuration.
 void refresh()
          Reload any configuration files used to create the objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalizedGraphMemFactoryImpl

public GlobalizedGraphMemFactoryImpl(TripleComparator comparator)
Method Detail

refresh

public void refresh()
Description copied from interface: GlobalizedGraphFactory
Reload any configuration files used to create the objects.

Specified by:
refresh in interface GlobalizedGraphFactory

getNewGlobalizedGraph

public GlobalizedGraph getNewGlobalizedGraph()
Description copied from interface: GlobalizedGraphFactory
Create a new JRDF globalized graph depending on the current configuration.

Specified by:
getNewGlobalizedGraph in interface GlobalizedGraphFactory
Returns:
a new instance of a JRDF graph.

getNewSparqlConnection

public SparqlConnection getNewSparqlConnection()
Description copied from interface: GlobalizedGraphFactory
Create a new connection to perform SPARQL operations depending on the current configuration.

Specified by:
getNewSparqlConnection in interface GlobalizedGraphFactory
Returns:
a new instance of a SPARQL connection.