String className = (String) springFunctions.get(type);  if (className == null) { className = (String) args.get(Workflow.CLASS_NAME); }  if (className != null) { return (FunctionProvider) loadObject(className); }
    public FunctionProvider getFunction(String type, Map args) throws WorkflowException {        if (SPRING.equals(type)) {            return (FunctionProvider) getApplicationContext().getBean((String) args.get(BEANNAME));        }        return super.getFunction(type, args);    }