com.opensymphony.workflow.util.beanshell
beanshell是什么?在osworkflow里,condition、function、register、validator都支持beanshell定义。它是一种脚本语言。可以在http://www.beanshell.org/来查看beanshell的相关内容。
因为个人还没有真正看过beanshell内部的东西,所以也就只能就osworkflow这一层次来理解它。随着学习的深入应该会继续学习这些东西。
实现Condition接口,
可以看到里面的代码:
Interpreter i = new Interpreter();//Interpreter来自import bsh.Interpreter;