registryServiceTracker = new ServiceTracker(context, IExtensionRegistry.class.getName(), this); registryServiceTracker.open();
preferencesService = bundleContext.registerService(IPreferencesService.class.getName(), PreferencesService.getDefault(), new Hashtable()); osgiPreferencesService = bundleContext.registerService(org.osgi.service.prefs.PreferencesService.class.getName(), new OSGiPreferencesServiceManager(bundleContext), null); registerServices();
	public void start(BundleContext context) throws Exception {		bundleContext = context;		processCommandLine();		PreferencesOSGiUtils.getDefault().openServices();		registryServiceTracker = new ServiceTracker(context, IExtensionRegistry.class.getName(), this);		registryServiceTracker.open();	}