}
if (scriptSourceProviders != null) {
//first figure out which initializer to use with this script engine
String language = (String) engine.getFactory().getParameter(ScriptEngine.NAME);
ScriptEngineProvider engineProvider = KNOWN_PROVIDERS.get(language);
if (engineProvider == null) {
throw new IllegalArgumentException("The supplied script engine [" + engine + "] is not supported.");
}
ScriptEngineInitializer initializer = engineProvider.getInitializer();
ScriptSourceProvider provider = null;
for (ScriptSourceProvider p : scriptSourceProviders) {
if (p instanceof StandardBindings.RhqFacadeChangeListener) {