while (!found && it.hasNext())
{
WorkContext wc = it.next();
if (wc instanceof HintsContext)
{
HintsContext hc = (HintsContext)wc;
Serializable value = hc.getHints().get(HintsContext.LONGRUNNING_HINT);
boolean longRunning = true;
if (value != null)
{
if (value instanceof String)