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

📄 messageactionhandler.java

📁 对jbpm工作流进行简单的实现与操作
💻 JAVA
字号:
package com.sample.action;import org.jbpm.graph.def.ActionHandler;import org.jbpm.graph.exe.ExecutionContext;public class MessageActionHandler implements ActionHandler {	private static final long serialVersionUID = 1L;		/**	 * The message member gets its value from the configuration in the 	 * processdefinition. The value is injected directly by the engine. 	 */	String message;	/**	 * A message process variable is assigned the value of the message	 * member. The process variable is created if it doesn't exist yet.	 */	public void execute(ExecutionContext context) throws Exception {		context.getContextInstance().setVariable("message", message);	}}

⌨️ 快捷键说明

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