Renderer.resetDefaults(rendDefObj, pixelsObj, pixMetaSrv);
Renderer.resetDefaults(rendDefObj, pixelsObj, pixMetaSrv, buffer);
    public void lookupRenderingDef(long pixelsId)    {        rwl.writeLock().lock();                try        {            rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId);            renderer = null;                        if (rendDefObj == null)            {            	// We've been initialized on a pixels set that has no rendering            	// definition for the given user. In order to keep the proper            	// bean state, we initialize the local instance variable and            	// write out new rendering settings into the database.            	rendDefObj = Renderer.createNewRenderingDef(pixelsObj);            	Renderer.resetDefaults(rendDefObj, pixelsObj, pixMetaSrv);            	pixMetaSrv.saveRndSettings(rendDefObj);            	iUpdate.flush();            	rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId);            }        }        finally        {            rwl.writeLock().unlock();        }                if (log.isDebugEnabled())            log.debug("lookupRenderingDef for Pixels="+pixelsId+" succeeded: "+this.rendDefObj);            }