public class DefaultGraphFactory extends Object implements GraphFactory
GraphFactory interface, used by HK2 to
instantiate default Graph instances.| Constructor and Description |
|---|
DefaultGraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
Graph.Builder |
createGraphBuilder()
Create a new
Graph.Builder instance. |
static GraphFactory |
createGraphFactory() |
Graph |
getGraph()
Get the
Graph instance. |
boolean |
isSingletonGraph() |
static void |
setGraph(Graph graph) |
void |
setSingletonGraph(boolean singletonGraph) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGraphpublic static GraphFactory createGraphFactory()
createGraphFactory in interface GraphFactorypublic Graph getGraph()
GraphFactoryGraph instance.getGraph in interface GraphFactorypublic static void setGraph(Graph graph)
public boolean isSingletonGraph()
public void setSingletonGraph(boolean singletonGraph)
public Graph.Builder createGraphBuilder()
GraphFactoryGraph.Builder instance.createGraphBuilder in interface GraphFactoryCopyright © 2022. All rights reserved.