this.processor025 = register(context, "0.2.5", 25);
}
private SweetjsProcessor register(final BundleContext context,
final String version, final int ranking) {
final SweetjsProcessor processor = new SweetjsProcessor(version);
final Hashtable<String, Object> props = new Hashtable<String, Object>();
props.put("name", "sweetjs");
props.put("version", version);
props.put(Constants.SERVICE_RANKING, Integer.valueOf(ranking));
context.registerService(Processor.class, processor, props);