try {
Parameters params = Parameters.fromConfiguration(conf);
String[] names = params.getNames();
for (int i = 0; i < names.length; i++) {
String resourceString = params.getParameter(names[i]);
XScriptObject resource = new XScriptObjectFromURL(this, resourceString);
globalScope.put(names[i], resource);
}
}
catch (ParameterException ex) {
throw new ConfigurationException("Error configuring XScriptManager: ",