Class JenaOrCoreGraphFactory

java.lang.Object
org.nuxeo.ecm.platform.relations.jena.JenaOrCoreGraphFactory
All Implemented Interfaces:
GraphFactory

public class JenaOrCoreGraphFactory extends Object implements GraphFactory
A factory that detects if a Jena graph or a core graph should be used, and remembers it for future invocations.

A Jena graph is used if it contains at least one relation for the given graph.

  • Field Details

    • testJenaGraph

      protected static JenaGraph testJenaGraph
  • Constructor Details

    • JenaOrCoreGraphFactory

      public JenaOrCoreGraphFactory()
  • Method Details