类 DelegateStep

  • 所有已实现的接口:
    Step, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DelegateStep
    extends AbstractStep
    Provides a wrapper for an existing Step, delegating execution to it, but serving all other operations locally.
    作者:
    Dave Syer
    • 方法详细资料

      • setDelegate

        public void setDelegate​(Step delegate)
        参数:
        delegate - the delegate to set
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Check mandatory properties (delegate).
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
        覆盖:
        afterPropertiesSet 在类中 AbstractStep
        抛出:
        java.lang.Exception
      • doExecute

        protected void doExecute​(StepExecution stepExecution)
                          throws java.lang.Exception
        从类复制的说明: AbstractStep
        Extension point for subclasses to execute business logic. Subclasses should set the ExitStatus on the StepExecution before returning.
        指定者:
        doExecute 在类中 AbstractStep
        参数:
        stepExecution - the current step context
        抛出:
        java.lang.Exception - checked exception thrown by implementation