activity2.java
来自「Java开发的权限管理的例子」· Java 代码 · 共 46 行
JAVA
46 行
package org.artemis.workflow.command;
import java.rmi.RemoteException;
import java.util.Map;
import org.apache.log4j.Logger;
import com.gsta.eshore.framework.jcf.Command;
import com.gsta.eshore.framework.jcf.GoOnException;
import com.gsta.eshore.framework.jcf.JCFException;
/**
* Class:Activity1 Creation Date: Mar 7, 2005 CVS ID $Id:$
*
* Class Descriptoin goes here
*
* @author sdodge
* @since $Date:$
*/
public class Activity2 extends Command {
private static Logger logger=Logger.getLogger(Activity2.class);
public void fini() throws Exception {
// TODO Auto-generated method stub
}
public void init(String parameter) throws Exception {
// TODO Auto-generated method stub
}
public void execute(Map params, Map response) throws Exception {
logger.info("EXECUTE Activity2");
response.put("next", "activity1");
// throw new GoOnException("GoOnException","Activity2");
//throw new JCFException("JCFException", "Activity2");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?