1 5 package com.opensymphony.workflow.util; 6 7 import com.opensymphony.module.propertyset.PropertySet; 8 9 import com.opensymphony.workflow.FunctionProvider; 10 import com.opensymphony.workflow.WorkflowContext; 11 12 import java.util.Map ; 13 14 15 21 public class Caller implements FunctionProvider { 22 24 public void execute(Map transientVars, Map args, PropertySet ps) { 25 WorkflowContext context = (WorkflowContext) transientVars.get("context"); 26 transientVars.put("caller", context.getCaller()); 27 } 28 } 29 | Popular Tags |