|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 JRDFFactorypublic org.springframework.context.support.ClassPathXmlApplicationContext getContext()
public Graph getNewGraph()
JRDFFactory
getNewGraph in interface JRDFFactorypublic SparqlConnection getNewSparqlConnection()
JRDFFactory
getNewSparqlConnection in interface JRDFFactorypublic void close()
JRDFFactory
close in interface JRDFFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||