// Retrieve the RenderableOp for the rendering of which
// the mapRenderContext call is being made.
RenderableOp rop = (RenderableOp)nodes.get(nodeId);
//Find the CRIF for the respective operation
ContextualRenderedImageFactory crif =
CRIFRegistry.get(rop.getRegistry(), operationName);
if (crif == null) {
throw new RuntimeException(
JaiI18N.getString("JAIRMIImageServer3"));
}
RenderContext rc =
crif.mapRenderContext(id,
(RenderContext)rcs.getObject(),
(ParameterBlock)rop.getParameterBlock(),
rop);
return SerializerFactory.getState(rc, null);
}