i.set("adapter", this);
i.set("picoContainer", pico);
i.set("componentKey", getComponentKey());
i.set("componentImplementation", getComponentImplementation());
i.set("parameters", parameters != null ? Arrays.asList(parameters) : Collections.EMPTY_LIST);
i.eval("import " + getComponentImplementation().getName() + ";");
String scriptPath = "/" + getComponentImplementation().getName().replace('.', '/') + ".bsh";
// Inside IDEA, this relies on the compilation output path being the same directory as the source path.
// kludge - copy ScriptableDemoBean.bsh to the same location in the test output compile class path.