Kie :: Spring 6.0.0.CR4

org.kie.spring.persistence
Class KieSpringJpaManager

java.lang.Object
  extended by org.kie.spring.persistence.KieSpringJpaManager
All Implemented Interfaces:
org.drools.persistence.PersistenceContextManager, org.jbpm.persistence.ProcessPersistenceContextManager

public class KieSpringJpaManager
extends Object
implements org.jbpm.persistence.ProcessPersistenceContextManager


Constructor Summary
KieSpringJpaManager(org.kie.api.runtime.Environment env)
           
 
Method Summary
 void beginCommandScopedEntityManager()
           
 void clearPersistenceContext()
           
 void dispose()
           
 void endCommandScopedEntityManager()
           
 org.drools.persistence.PersistenceContext getApplicationScopedPersistenceContext()
           
 org.drools.persistence.PersistenceContext getCommandScopedPersistenceContext()
           
 org.jbpm.persistence.ProcessPersistenceContext getProcessPersistenceContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KieSpringJpaManager

public KieSpringJpaManager(org.kie.api.runtime.Environment env)
Method Detail

getApplicationScopedPersistenceContext

public org.drools.persistence.PersistenceContext getApplicationScopedPersistenceContext()
Specified by:
getApplicationScopedPersistenceContext in interface org.drools.persistence.PersistenceContextManager

getCommandScopedPersistenceContext

public org.drools.persistence.PersistenceContext getCommandScopedPersistenceContext()
Specified by:
getCommandScopedPersistenceContext in interface org.drools.persistence.PersistenceContextManager

beginCommandScopedEntityManager

public void beginCommandScopedEntityManager()
Specified by:
beginCommandScopedEntityManager in interface org.drools.persistence.PersistenceContextManager

endCommandScopedEntityManager

public void endCommandScopedEntityManager()
Specified by:
endCommandScopedEntityManager in interface org.drools.persistence.PersistenceContextManager

dispose

public void dispose()
Specified by:
dispose in interface org.drools.persistence.PersistenceContextManager

getProcessPersistenceContext

public org.jbpm.persistence.ProcessPersistenceContext getProcessPersistenceContext()
Specified by:
getProcessPersistenceContext in interface org.jbpm.persistence.ProcessPersistenceContextManager

clearPersistenceContext

public void clearPersistenceContext()
Specified by:
clearPersistenceContext in interface org.drools.persistence.PersistenceContextManager

Kie :: Spring 6.0.0.CR4

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.