register.java

来自「osworkflow修改版本」· Java 代码 · 共 33 行

JAVA
33
字号
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.workflow;import com.opensymphony.workflow.spi.WorkflowEntry;import java.util.Map;/** * Interface that must be implemented for workflow registers to behave properly. * * @author <a href="mailto:plightbo@hotmail.com">Patrick Lightbody</a> * @version $Revision: 1.2 $ */public interface Register {    //~ Methods ////////////////////////////////////////////////////////////////    /**     * Returns the object to bind to the variable map for this workflow instance.     *     * @param context The current workflow context     * @param entry The workflow entry. Note that this might be null, for example in a pre function     * before the workflow has been initialised     * @param args Map of arguments as set in the workflow descriptor     * @return the object to bind to the variable map for this workflow instance     */    public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException;}

⌨️ 快捷键说明

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