org.broadleafcommerce.core.workflow
Class BaseProcessor
java.lang.Object
org.broadleafcommerce.core.workflow.BaseProcessor
- All Implemented Interfaces:
- Processor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- SequenceProcessor
public abstract class BaseProcessor
- extends Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware, Processor
Base class for all Workflow Processors. Responsible of keeping track of an ordered collection
of Activities
- Since:
- March 1, 2005
- See Also:
Activity
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseProcessor
public BaseProcessor()
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getBeanDesc
protected String getBeanDesc()
- Returns the bean description if the current bean factory allows it.
- Returns:
- spring bean description configure via the spring description tag
setActivities
public void setActivities(List<Activity> activities)
- Sets the collection of Activities to be executed by the Workflow Process
- Specified by:
setActivities in interface Processor
- Parameters:
activities - ordered collection (List) of activities to be executed by the processor
setDefaultErrorHandler
public void setDefaultErrorHandler(ErrorHandler defaultErrorHandler)
- Specified by:
setDefaultErrorHandler in interface Processor
getActivities
public List<Activity> getActivities()
getBeanName
public String getBeanName()
getDefaultErrorHandler
public ErrorHandler getDefaultErrorHandler()
getBeanFactory
public org.springframework.beans.factory.BeanFactory getBeanFactory()
Copyright © 2012. All Rights Reserved.