- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/Netflix/Nicobar
- 软件文档: https://github.com/Netflix/Nicobar/wiki
软件介绍
Nicobar 是 Java 的动态脚本和模块加载器框架。Nicobar 是 Java 动态脚本框架,由一个基于 JBoss Modules 的强大的模块化加载系统驱动。
public void initializeNicobar() throws Exception { // create the loader with the groovy plugin ScriptModuleLoader moduleLoader = new ScriptModuleLoader.Builder() .addPluginSpec(new ScriptCompilerPluginSpec.Builder(GROOVY2_PLUGIN_ID) // configure Groovy plugin .addRuntimeResource(ExampleResourceLocator.getGroovyRuntime()) .addRuntimeResource(ExampleResourceLocator.getGroovyPluginLocation()) .withPluginClassName(GROOVY2_COMPILER_PLUGIN_CLASS) .build()) .build(); }