code: @Override
  	public void processBundles(GlobalPreprocessingContext ctx, List<JoinableResourceBundle> bundles) {
  
  		ResourceReaderHandler rsHandler = ctx.getRsReaderHandler();
  
  		Set<String> resourcePaths = getResourcePaths(bundles);
  		JawrConfig jawrConfig = ctx.getJawrConfig();
  		Charset charset = jawrConfig.getResourceCharset();
  
  		BinaryResourcesHandler binaryRsHandler = (BinaryResourcesHandler) jawrConfig.getContext()
  				.getAttribute(JawrConstant.BINARY_CONTEXT_ATTRIBUTE);
  
  		generateSprites(rsHandler, binaryRsHandler, resourcePaths, jawrConfig, charset);
  
  		// Update CSS resource handler
  		CssSmartSpritesResourceReader cssSpriteResourceReader = new CssSmartSpritesResourceReader(
  				rsHandler.getWorkingDirectory(), jawrConfig);
  
  		updateBundlesDirtyState(bundles, cssSpriteResourceReader);
  
  		ctx.getRsReaderHandler().addResourceReader(cssSpriteResourceReader);
  
  		// Update image resource handler
  		ResourceReaderHandler imgStreamRsHandler = binaryRsHandler.getRsReaderHandler();
  		imgStreamRsHandler.addResourceReader(cssSpriteResourceReader);
  	}
docs: /*
  (non-Javadoc)
  
  @see net.jawr.web.resource.bundle.global.processor.GlobalProcessor#
  processBundles ( net.jawr.web.resource.bundle.global.processor.
  AbstractGlobalProcessingContext , java.util.List)