Currently:
TODO: look into using the LoadService of jruby. Look if it would be possible to reuse the base runtime and minimize the cost of new jruby runtimes.
5455565758596061
static OSGiScriptingContainer _container; static Bundle _bundle = FrameworkUtil.getBundle(TestJRubyWithOSGiBundle.class); @Before public void setup() { if (_container == null) { _container = new OSGiScriptingContainer(_bundle); } }
47484950515253
* @return the OSGiScriptingContainer. */ @Override public ScriptingContainer createScriptingContainer(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) { return new OSGiScriptingContainer(null, scope, behavior, lazy); }