public class MapPersistenceContextManager extends Object implements org.drools.persistence.api.PersistenceContextManager
| Constructor and Description |
|---|
MapPersistenceContextManager(org.drools.persistence.api.PersistenceContext persistenceContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCommandScopedEntityManager() |
void |
clearPersistenceContext() |
void |
dispose() |
void |
endCommandScopedEntityManager() |
org.drools.persistence.api.PersistenceContext |
getApplicationScopedPersistenceContext() |
org.drools.persistence.api.PersistenceContext |
getCommandScopedPersistenceContext() |
public MapPersistenceContextManager(org.drools.persistence.api.PersistenceContext persistenceContext)
public org.drools.persistence.api.PersistenceContext getApplicationScopedPersistenceContext()
getApplicationScopedPersistenceContext in interface org.drools.persistence.api.PersistenceContextManagerpublic org.drools.persistence.api.PersistenceContext getCommandScopedPersistenceContext()
getCommandScopedPersistenceContext in interface org.drools.persistence.api.PersistenceContextManagerpublic void beginCommandScopedEntityManager()
beginCommandScopedEntityManager in interface org.drools.persistence.api.PersistenceContextManagerpublic void endCommandScopedEntityManager()
endCommandScopedEntityManager in interface org.drools.persistence.api.PersistenceContextManagerpublic void dispose()
dispose in interface org.drools.persistence.api.PersistenceContextManagerpublic void clearPersistenceContext()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.