org.broadleafcommerce.core.workflow
Class EmptySequenceProcessor

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.BaseProcessor
      extended by org.broadleafcommerce.core.workflow.SequenceProcessor
          extended by org.broadleafcommerce.core.workflow.EmptySequenceProcessor
All Implemented Interfaces:
Processor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class EmptySequenceProcessor
extends SequenceProcessor

Convenience class for creating an empty workflow. Useful when a user wants to remove workflow behavior from Broadleaf. For instance, a user might want to subclass OrderService and provide their own implementation of addItem, but wants to invoke the super implementation of this method to obtain all functionality except executing the workflow since they want to take charge of the entire process themselves.

Author:
Phillip Verheyden (phillipuniverse)

Field Summary
 
Fields inherited from class org.broadleafcommerce.core.workflow.BaseProcessor
activities, allowEmptyActivities, beanFactory, beanName, defaultErrorHandler, moduleActivities, supportLogger
 
Constructor Summary
EmptySequenceProcessor()
           
 
Method Summary
protected  ProcessContext createContext(Object seedData)
           
 
Methods inherited from class org.broadleafcommerce.core.workflow.SequenceProcessor
doActivities, doActivities, processShouldStop, setProcessContextFactory, supports
 
Methods inherited from class org.broadleafcommerce.core.workflow.BaseProcessor
afterPropertiesSet, getActivities, getAutoRollbackOnError, getBeanDesc, getBeanFactory, getBeanName, getDefaultErrorHandler, getModuleActivities, isAllowEmptyActivities, setActivities, setAllowEmptyActivities, setAutoRollbackOnError, setBeanFactory, setBeanName, setDefaultErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptySequenceProcessor

public EmptySequenceProcessor()
Method Detail

createContext

protected ProcessContext createContext(Object seedData)
Overrides:
createContext in class SequenceProcessor


Copyright © 2013. All Rights Reserved.