bundle.resolve();
bundle.resolve(descriptions[i].isSingleton());
	protected void setResolvedBundles() {		State state = framework.adaptor.getState();		BundleDescription[] descriptions = state.getBundles();		for (int i = 0; i < descriptions.length; i++) {			long bundleId = descriptions[i].getBundleId();			AbstractBundle bundle = framework.getBundle(bundleId);			if (bundle == null) {				BundleException be = new BundleException(Msg.formatter.getString("BUNDLE_NOT_IN_FRAMEWORK", descriptions[i])); //$NON-NLS-1$				framework.publishFrameworkEvent(FrameworkEvent.ERROR, framework.systemBundle, be);			}			if (bundle != framework.systemBundle) {				if (descriptions[i].isResolved()) {					if (bundle.isFragment()) {						BundleHost host = (BundleHost) framework.getBundle(descriptions[i].getHost().getSupplier().getBundleId());						if (((BundleFragment) bundle).setHost(host)) {							bundle.resolve();						}					} else {						bundle.resolve();					}				}			}		}		exportedPackages = getExportedPackages(exportedPackages);		exportedBundles = getExportedBundles(exportedBundles);	}