com.tinkerpop.rexster
Class RexsterApplicationGraph
java.lang.Object
com.tinkerpop.rexster.RexsterApplicationGraph
public class RexsterApplicationGraph
- extends Object
Holds a graph and its assigned extensions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RexsterApplicationGraph
public RexsterApplicationGraph(String graphName,
com.tinkerpop.blueprints.Graph graph)
getGraphName
public String getGraphName()
getGraph
public com.tinkerpop.blueprints.Graph getGraph()
getUnwrappedGraph
public com.tinkerpop.blueprints.Graph getUnwrappedGraph()
unwrapGraph
public static com.tinkerpop.blueprints.Graph unwrapGraph(com.tinkerpop.blueprints.Graph g)
tryGetTransactionalGraph
public com.tinkerpop.blueprints.TransactionalGraph tryGetTransactionalGraph()
isTransactionalGraph
public boolean isTransactionalGraph()
tryStartTransaction
public void tryStartTransaction()
tryStopTransactionSuccess
public void tryStopTransactionSuccess()
tryStopTransactionFailure
public void tryStopTransactionFailure()
trySetTransactionalModeAutomatic
public void trySetTransactionalModeAutomatic()
isExtensionAllowed
public boolean isExtensionAllowed(ExtensionSegmentSet extensionSegmentSet)
- Determines if a particular extension is allowed given configured allowables from rexster.xml.
Ensure that loadAllowableExtensions is called prior to this method.
findExtensionConfiguration
public ExtensionConfiguration findExtensionConfiguration(String namespace,
String extensionName)
loadExtensionsConfigurations
public void loadExtensionsConfigurations(List<org.apache.commons.configuration.HierarchicalConfiguration> extensionConfigurations)
loadAllowableExtensions
public void loadAllowableExtensions(List allowableNamespaces)
- Loads a list of namespaces extension patterns that are allowed for this graph.
getExtensionAllowables
public Set<ExtensionAllowed> getExtensionAllowables()
getExtensionHypermedia
protected org.codehaus.jettison.json.JSONArray getExtensionHypermedia(ExtensionPoint extensionPoint,
String baseUri)
Copyright © 2009-2012. All Rights Reserved.