org.jbpm.persistence
Class MapBasedProcessPersistenceContext
java.lang.Object
org.drools.persistence.map.MapBasedPersistenceContext
org.jbpm.persistence.MapBasedProcessPersistenceContext
- All Implemented Interfaces:
- org.drools.persistence.map.NonTransactionalPersistentSession, org.drools.persistence.PersistenceContext, NonTransactionalProcessPersistentSession, ProcessPersistenceContext
public class MapBasedProcessPersistenceContext
- extends org.drools.persistence.map.MapBasedPersistenceContext
- implements ProcessPersistenceContext, NonTransactionalProcessPersistentSession
Methods inherited from class org.drools.persistence.map.MapBasedPersistenceContext |
clear, findSessionInfo, findWorkItemInfo, getStoredKnowledgeSessions, getStoredWorkItems, isOpen, joinTransaction, merge, persist, persist, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.persistence.PersistenceContext |
findSessionInfo, findWorkItemInfo, isOpen, joinTransaction, merge, persist, persist, remove |
Methods inherited from interface org.drools.persistence.map.NonTransactionalPersistentSession |
clear, getStoredKnowledgeSessions, getStoredWorkItems |
MapBasedProcessPersistenceContext
public MapBasedProcessPersistenceContext(ProcessStorage storage)
persist
public void persist(ProcessInstanceInfo processInstanceInfo)
- Specified by:
persist
in interface ProcessPersistenceContext
findProcessInstanceInfo
public ProcessInstanceInfo findProcessInstanceInfo(Long processId)
- Specified by:
findProcessInstanceInfo
in interface ProcessPersistenceContext
getStoredProcessInstances
public List<ProcessInstanceInfo> getStoredProcessInstances()
- Specified by:
getStoredProcessInstances
in interface NonTransactionalProcessPersistentSession
close
public void close()
- Specified by:
close
in interface org.drools.persistence.PersistenceContext
- Overrides:
close
in class org.drools.persistence.map.MapBasedPersistenceContext
remove
public void remove(ProcessInstanceInfo processInstanceInfo)
- Specified by:
remove
in interface ProcessPersistenceContext
getProcessInstancesWaitingForEvent
public List<Long> getProcessInstancesWaitingForEvent(String type)
- Specified by:
getProcessInstancesWaitingForEvent
in interface ProcessPersistenceContext
clearStoredProcessInstances
public void clearStoredProcessInstances()
- Specified by:
clearStoredProcessInstances
in interface NonTransactionalProcessPersistentSession
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.