org.drools.persistence.map
Class MapPersistenceContextManager

java.lang.Object
  extended by org.drools.persistence.map.MapPersistenceContextManager
All Implemented Interfaces:
PersistenceContextManager

public class MapPersistenceContextManager
extends Object
implements PersistenceContextManager


Constructor Summary
MapPersistenceContextManager(PersistenceContext persistenceContext)
           
 
Method Summary
 void beginCommandScopedEntityManager()
           
 void dispose()
           
 void endCommandScopedEntityManager()
           
 PersistenceContext getApplicationScopedPersistenceContext()
           
 PersistenceContext getCommandScopedPersistenceContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapPersistenceContextManager

public MapPersistenceContextManager(PersistenceContext persistenceContext)
Method Detail

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.