com.opensymphony.workflow.spi.hibernate
Class NewSpringHibernateWorkflowStore
java.lang.Object
com.opensymphony.workflow.spi.hibernate.AbstractHibernateWorkflowStore
com.opensymphony.workflow.spi.hibernate.NewSpringHibernateWorkflowStore
- All Implemented Interfaces:
- WorkflowStore
public class NewSpringHibernateWorkflowStore
- extends AbstractHibernateWorkflowStore
- Author:
- masini
New Refactored Spring Managed Hibernate Store.
Look at @link NewSpringHibernateFunctionalWorkflowTestCase for a use case.
| Methods inherited from class com.opensymphony.workflow.spi.hibernate.AbstractHibernateWorkflowStore |
createCurrentStep, createEntry, delete, findCurrentSteps, findEntry, findHistorySteps, getCacheRegion, getExpression, getPropertySet, getPropertySetDelegate, isCacheable, loadEntry, markFinished, moveToHistory, query, query, save, setCacheable, setCacheRegion, setEntryState, setPropertySetDelegate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewSpringHibernateWorkflowStore
public NewSpringHibernateWorkflowStore()
setSessionFactory
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
getSessionFactory
public net.sf.hibernate.SessionFactory getSessionFactory()
init
public void init(Map props)
throws StoreException
- Description copied from interface:
WorkflowStore
- Called once when the store is first created.
- Parameters:
props - properties set in osworkflow.xml
- Throws:
StoreException
execute
protected Object execute(AbstractHibernateWorkflowStore.InternalCallback action)
throws StoreException
- Specified by:
execute in class AbstractHibernateWorkflowStore
- Throws:
StoreException