ScriptEngineManagers find and create script engines indirectly.
ScriptEngineManager 间接查找和创建脚本引擎。
You just have to place the JAR files of the script engines in your CLASSPATH.
只需将脚本引擎的JAR文件放入CLASSPATH即可。
Many script engines maintain state of global variables and functions between calls to eval().
许多脚本引擎在eval()调用之间维持全局变量和函数的状态。
This pair of methods demonstrates that script engines can maintain a state of application components and make that state available during subsequent calls to the engine's eval method.
这两个方法演示了脚本引擎可以维持应用程序组件的状态,并且能够在后续的eval方法调用过程中使用其状态。
Script engines are not required to make the global bindings accessible to scripts.
脚本引擎并不需要使脚本能够访问全局绑定。
Script engines are free to take liberties with the names you pass to the put method.
脚本引擎可以随意对待传递给put方法的名称。
Script engines are free to take liberties with the names you pass to the put method.
脚本引擎可以随意对待传递给put方法的名称。
应用推荐