com.opensymphony.workflow.spi.hibernate
Class NewSpringHibernateWorkflowStore

java.lang.Object
  extended by com.opensymphony.workflow.spi.hibernate.AbstractHibernateWorkflowStore
      extended by 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.

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

Constructor Detail

NewSpringHibernateWorkflowStore

public NewSpringHibernateWorkflowStore()
Method Detail

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

OpenSymphony Workflow Project Page