⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activity.java

📁 使用spring构建一个简单的工作流引擎
💻 JAVA
字号:

package org.iocworkflow;

import org.springframework.beans.factory.BeanNameAware;


/**
 * @author sdodge
 * 
 * Class:Activity
 * Creation Date: Feb 28, 2005
 * CVS ID $Id:$
 * 
 * Encapsulates the business logic of a single step in the 
 * workflow process
 * 
 */
public interface Activity extends BeanNameAware {

    /**
     * Called by the encompassing processor to activate
     * the execution of the Activity
     * 
     * @param context - process context for this workflow
     * @return resulting process context
     * @throws Exception
     */
    public ProcessContext execute(ProcessContext context) throws Exception;
    
    
    /**
     * Get the fine-grained error handler wired up for this Activity
     * @return
     */
    public ErrorHandler getErrorHandler();
    
    public String getBeanName();
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -