*
* @return the virtualizer
*/
public JRGzipVirtualizer getGzipVirtualizer() {
logger.debug("IN");
JRGzipVirtualizer virtualizer = null;
SourceBean config = EnginConf.getInstance().getConfig();
String maxSizeStr = (String)config.getAttribute("VIRTUALIZER.maxSize");
int maxSize = 2;
if(maxSizeStr!=null) maxSize = Integer.parseInt(maxSizeStr);
logger.debug("Max page cached during virtualization process: " + maxSize);
virtualizer = new JRGzipVirtualizer(maxSize);
virtualizer.setReadOnly(false);
logger.debug("OUT");
return virtualizer;
}