org.drools.persistence.jpa
Class JpaPersistenceContextManager
java.lang.Object
org.drools.persistence.jpa.JpaPersistenceContextManager
- All Implemented Interfaces:
- PersistenceContextManager
public class JpaPersistenceContextManager
- extends Object
- implements PersistenceContextManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmdScopedEntityManager
protected javax.persistence.EntityManager cmdScopedEntityManager
JpaPersistenceContextManager
public JpaPersistenceContextManager(org.drools.runtime.Environment env)
getApplicationScopedPersistenceContext
public PersistenceContext getApplicationScopedPersistenceContext()
- Specified by:
getApplicationScopedPersistenceContext
in interface PersistenceContextManager
getCommandScopedPersistenceContext
public PersistenceContext getCommandScopedPersistenceContext()
- Specified by:
getCommandScopedPersistenceContext
in interface PersistenceContextManager
beginCommandScopedEntityManager
public void beginCommandScopedEntityManager()
- Specified by:
beginCommandScopedEntityManager
in interface PersistenceContextManager
endCommandScopedEntityManager
public void endCommandScopedEntityManager()
- Specified by:
endCommandScopedEntityManager
in interface PersistenceContextManager
dispose
public void dispose()
- Specified by:
dispose
in interface PersistenceContextManager
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.