Spring Data Graph

org.springframework.data.graph.neo4j.jpa
Class Neo4jEntityManagerFactory

java.lang.Object
  extended by org.springframework.data.graph.neo4j.jpa.Neo4jEntityManagerFactory
All Implemented Interfaces:
javax.persistence.EntityManagerFactory

public class Neo4jEntityManagerFactory
extends Object
implements javax.persistence.EntityManagerFactory

Since:
23.08.2010
Author:
Michael Hunger

Constructor Summary
Neo4jEntityManagerFactory(GraphDatabaseContext graphDatabaseContext, javax.persistence.spi.PersistenceUnitInfo info, Map params)
           
 
Method Summary
 void close()
           
 javax.persistence.EntityManager createEntityManager()
           
 javax.persistence.EntityManager createEntityManager(Map map)
           
 javax.persistence.Cache getCache()
           
 javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
           
 javax.persistence.metamodel.Metamodel getMetamodel()
           
 javax.persistence.PersistenceUnitUtil getPersistenceUnitUtil()
           
 Map<String,Object> getProperties()
           
 boolean isOpen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Neo4jEntityManagerFactory

public Neo4jEntityManagerFactory(GraphDatabaseContext graphDatabaseContext,
                                 javax.persistence.spi.PersistenceUnitInfo info,
                                 Map params)
Method Detail

createEntityManager

public javax.persistence.EntityManager createEntityManager()
Specified by:
createEntityManager in interface javax.persistence.EntityManagerFactory

createEntityManager

public javax.persistence.EntityManager createEntityManager(Map map)
Specified by:
createEntityManager in interface javax.persistence.EntityManagerFactory

getCriteriaBuilder

public javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
Specified by:
getCriteriaBuilder in interface javax.persistence.EntityManagerFactory

getMetamodel

public javax.persistence.metamodel.Metamodel getMetamodel()
Specified by:
getMetamodel in interface javax.persistence.EntityManagerFactory

close

public void close()
Specified by:
close in interface javax.persistence.EntityManagerFactory

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in interface javax.persistence.EntityManagerFactory

getCache

public javax.persistence.Cache getCache()
Specified by:
getCache in interface javax.persistence.EntityManagerFactory

getPersistenceUnitUtil

public javax.persistence.PersistenceUnitUtil getPersistenceUnitUtil()
Specified by:
getPersistenceUnitUtil in interface javax.persistence.EntityManagerFactory

isOpen

public boolean isOpen()
Specified by:
isOpen in interface javax.persistence.EntityManagerFactory

Spring Data Graph

Copyright © 2011. All Rights Reserved.