com.opensymphony.workflow.spi.hibernate3
Class SpringHibernateWorkflowStore

java.lang.Object
  extended by com.opensymphony.workflow.spi.hibernate3.AbstractHibernateWorkflowStore
      extended by com.opensymphony.workflow.spi.hibernate3.SpringHibernateWorkflowStore
All Implemented Interfaces:
WorkflowStore

public class SpringHibernateWorkflowStore
extends AbstractHibernateWorkflowStore

Author:
masini New Refactored Spring Managed Hibernate Store. Look at @link NewSpringHibernateFunctionalWorkflowTestCase for a use case.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.opensymphony.workflow.spi.hibernate3.AbstractHibernateWorkflowStore
AbstractHibernateWorkflowStore.InternalCallback
 
Constructor Summary
SpringHibernateWorkflowStore()
           
 
Method Summary
protected  Object execute(AbstractHibernateWorkflowStore.InternalCallback action)
           
 org.hibernate.SessionFactory getSessionFactory()
           
 void init(Map props)
          Called once when the store is first created.
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class com.opensymphony.workflow.spi.hibernate3.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
 

Constructor Detail

SpringHibernateWorkflowStore

public SpringHibernateWorkflowStore()
Method Detail

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)

getSessionFactory

public org.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

OpenSymphony Workflow Project Page