pluginBundleListener = new EclipseBundleListener(theRegistry, token);
pluginBundleListener = new EclipseBundleListener(theRegistry, token, this);
	public void onStart(IExtensionRegistry registry) {		super.onStart(registry);		if (!(registry instanceof ExtensionRegistry))			return;		ExtensionRegistry theRegistry = (ExtensionRegistry) registry;		// register a listener to catch new bundle installations/resolutions.		pluginBundleListener = new EclipseBundleListener(theRegistry, token);		Activator.getContext().addBundleListener(pluginBundleListener);		// populate the registry with all the currently installed bundles.		// There is a small window here while processBundles is being		// called where the pluginBundleListener may receive a BundleEvent 		// to add/remove a bundle from the registry.  This is ok since		// the registry is a synchronized object and will not add the		// same bundle twice.		if (!theRegistry.filledFromCache())			pluginBundleListener.processBundles(Activator.getContext().getBundles());	}