}
node.setProperty(RT_PROP, BackgroundServletConstants.JOB_RESOURCE_TYPE);
final Node stream = node.addNode(STREAM_PATH);
stream.setProperty(RT_PROP, BackgroundServletConstants.STREAM_RESOURCE_TYPE);
node.save();
return new NodeOutputStream(stream);
} catch(Exception e) {
throw new JobStorageException("Exception in getOutputStream()", e);
}
}