@Override
public void start(BundleContext context) throws Exception {
if (registry != null) {
registry.setOsgiBundleContext(context);
serviceBridge = new FelixServiceBridge(felix);
registry.addServiceLoader(serviceBridge);
context.registerService(ProcessToolRegistry.class.getName(), registry, new Hashtable());
context.registerService(ViewRegistry.class.getName(), new DefaultViewRegistryImpl(),
new Hashtable<String, Object>());
}