Class GraphTemplateProducer
java.lang.Object
org.eclipse.jnosql.databases.tinkerpop.mapping.GraphTemplateProducer
- All Implemented Interfaces:
Function<org.apache.tinkerpop.gremlin.structure.Graph,TinkerpopTemplate>
@ApplicationScoped
public class GraphTemplateProducer
extends Object
implements Function<org.apache.tinkerpop.gremlin.structure.Graph,TinkerpopTemplate>
An
ApplicationScoped producer class responsible for creating instances of TinkerpopTemplate.
It implements the Function interface with DatabaseManager as input and TinkerpopTemplate as output.-
Constructor Details
-
GraphTemplateProducer
public GraphTemplateProducer()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<org.apache.tinkerpop.gremlin.structure.Graph,TinkerpopTemplate>
-