|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.SpringJRDFFactory
public final class SpringJRDFFactory
Uses the default wiring xml file or one given to it to construct various JRDF components using Spring.
Method Summary | |
---|---|
void |
close()
Closes any open resource created by the factory. |
org.springframework.context.support.ClassPathXmlApplicationContext |
getContext()
|
static JRDFFactory |
getFactory()
|
Graph |
getNewGraph()
Create a new JRDF 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 |
Method Detail |
---|
public static JRDFFactory getFactory()
public void refresh()
JRDFFactory
refresh
in interface JRDFFactory
public org.springframework.context.support.ClassPathXmlApplicationContext getContext()
public Graph getNewGraph()
JRDFFactory
getNewGraph
in interface JRDFFactory
public SparqlConnection getNewSparqlConnection()
JRDFFactory
getNewSparqlConnection
in interface JRDFFactory
public void close()
JRDFFactory
close
in interface JRDFFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |