标签: groovy scriptengine jsr223
ScriptEngineManager factory = new ScriptEngineManager(); ScriptEngine engine = factory.getEngineByName("groovy"); assert engine instanceof GroovyScriptEngineImpl
是否有任何可用的界面使用“GroovyScriptEngineImpl”
答案 0 :(得分:1)
GroovyScriptEngineImpl实现了Compilable,Invocable和ScriptEngine接口。