if (c != null)
{
// Find the Function to execute - could throw an exception if
// not found.
Class fClass = Class.forName(c.task().functionClass());
Function f = (Function) fClass.newInstance();
// Executes it.
r = f.execute(c);
}
if (r != null)
{
// Got a result - commit this to the WorkSpace.