org.activiti.engine.impl.variable
类 EntityManagerSessionImpl

java.lang.Object
  继承者 org.activiti.engine.impl.variable.EntityManagerSessionImpl
所有已实现的接口:
Session, EntityManagerSession

public class EntityManagerSessionImpl
extends Object
implements EntityManagerSession

作者:
Frederik Heremans, Joram Barrez

构造方法摘要
EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
           
EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory, javax.persistence.EntityManager entityManager, boolean handleTransactions, boolean closeEntityManager)
           
 
方法摘要
 void close()
           
 void flush()
           
 javax.persistence.EntityManager getEntityManager()
          Get an EntityManager instance associated with this session.
protected  boolean isTransactionActive()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

EntityManagerSessionImpl

public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                                javax.persistence.EntityManager entityManager,
                                boolean handleTransactions,
                                boolean closeEntityManager)

EntityManagerSessionImpl

public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                                boolean handleTransactions,
                                boolean closeEntityManager)
方法详细信息

flush

public void flush()
指定者:
接口 Session 中的 flush

isTransactionActive

protected boolean isTransactionActive()

close

public void close()
指定者:
接口 Session 中的 close

getEntityManager

public javax.persistence.EntityManager getEntityManager()
从接口 EntityManagerSession 复制的描述
Get an EntityManager instance associated with this session.

指定者:
接口 EntityManagerSession 中的 getEntityManager


Copyright © 2013 Alfresco. All rights reserved.