this.processor037 = register(context, "0.3.7", 37);
}
private SvgoProcessor register(final BundleContext context,
final String version, final int ranking) {
final SvgoProcessor processor = new SvgoProcessor(version);
final Hashtable<String, Object> props = new Hashtable<String, Object>();
props.put("name", "svgo");
props.put("version", version);
props.put(Constants.SERVICE_RANKING, Integer.valueOf(ranking));
context.registerService(Processor.class, processor, props);