org.camunda.bpm.engine.impl.variable.serializer.jpa
Class EntityManagerSessionFactory

java.lang.Object
  extended by org.camunda.bpm.engine.impl.variable.serializer.jpa.EntityManagerSessionFactory
All Implemented Interfaces:
SessionFactory

public class EntityManagerSessionFactory
extends Object
implements SessionFactory

Author:
Frederik Heremans

Field Summary
protected  boolean closeEntityManager
           
protected  javax.persistence.EntityManagerFactory entityManagerFactory
           
protected  boolean handleTransactions
           
 
Constructor Summary
EntityManagerSessionFactory(Object entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
           
 
Method Summary
 javax.persistence.EntityManagerFactory getEntityManagerFactory()
           
 Class<?> getSessionType()
           
 Session openSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityManagerFactory

protected javax.persistence.EntityManagerFactory entityManagerFactory

handleTransactions

protected boolean handleTransactions

closeEntityManager

protected boolean closeEntityManager
Constructor Detail

EntityManagerSessionFactory

public EntityManagerSessionFactory(Object entityManagerFactory,
                                   boolean handleTransactions,
                                   boolean closeEntityManager)
Method Detail

getSessionType

public Class<?> getSessionType()
Specified by:
getSessionType in interface SessionFactory

openSession

public Session openSession()
Specified by:
openSession in interface SessionFactory

getEntityManagerFactory

public javax.persistence.EntityManagerFactory getEntityManagerFactory()


Copyright © 2016 camunda services GmbH. All rights reserved.