if (continuationIdResolver != null) {
contId = continuationIdResolver.resolve(context, env.getObjectModel());
}
InterpreterSelector selector
= (InterpreterSelector)manager.lookup(Interpreter.ROLE);
// FIXME: How to detect the language associated with the
// continuation object? Use the default language for now, but it
// should be fixed ASAP.
String language = selector.getDefaultLanguage();
// Obtain the Interpreter instance for this language
Interpreter interpreter = (Interpreter)selector.select(language);
// Obtain the redirector
// Redirector redirector = PipelinesNode.getRedirector(env);
try {
interpreter.handleContinuation(contId, params, env /*, redirector*/);
} finally {
selector.release((Component)interpreter);
}
return true;
}