code: @SuppressWarnings("unchecked")
  	public void setConfig(JawrConfig config) {
  		
  		servletContext = config.getContext();
  		grailsContext = servletContext
  				.getAttribute(JawrGrailsConstant.GRAILS_WAR_DEPLOYED) != null;
  		if (grailsContext) {
  			LOGGER.info("Grails war deployed");
  		}
  		
  		pluginMsgPathMap = (Map<String, String>) servletContext.getAttribute(JawrGrailsConstant.JAWR_GRAILS_PLUGIN_MSG_PATHS);
  		if(pluginMsgPathMap == null){
  			throw new BundlingProcessException("No grails plugin message paths map defined in the servlet context");
  		}
  		
  		rsHandler = new GrailsServletContextResourceReader(JawrGrailsConstant.JAWR_GRAILS_PLUGIN_MSG_PATHS);
  		rsHandler.init(servletContext, config);
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.jawr.web.resource.bundle.generator.ConfigurationAwareResourceGenerator
  #setConfig(net.jawr.web.config.JawrConfig)