code: public void init(ServletConfig servletConfig) throws ServletException {
  		super.init(servletConfig);
  		// If contributing bundle has a mime.types file in the META-INF directory, then
  		// add the contents to the map
  		URL url = getContributingBundle().getResource("META-INF/mime.types"); //$NON-NLS-1$
  		if (url != null) {
  			// Some implementations of MimetypesFileTypeMap (e.g. servicemix) don't
  			// implement addMimeTypes() correctly, requiring us to feed it the mime.types
  			// file line-by-line.
  			BufferedReader reader = null;
  			try {
  				reader = new BufferedReader(new InputStreamReader(url.openStream()));
  				String line;
  				while ((line = reader.readLine()) != null) {
  					super.fileTypeMap.addMimeTypes(line);
  				}
  			} catch (IOException e) {
  				if (log.isLoggable(Level.WARNING)) {
  					log.log(Level.WARNING, e.getMessage(), e);
  				}
  			} finally {
  				if (reader != null) {
  					IOUtils.closeQuietly(reader);
  				}
  			}
  		}
  		Dictionary<String, String> dict = new Hashtable<String, String>();
  		dict.put("name", getName()); //$NON-NLS-1$
  		registrations.add(new ServiceRegistrationOSGi(Activator.getBundleContext().registerService(
  				IAggregator.class.getName(), this, dict)));
  
  	}
docs: /* (non-Javadoc)
  @see com.ibm.jaggr.core.impl.AbstractAggregatorImpl#init(javax.servlet.ServletConfig)