bundle.resolve();
if (resolve) bundle.resolve();
	private AbstractBundle setResolved(BundleDescription bundleDescription) {		if (!bundleDescription.isResolved())			return null;		AbstractBundle bundle = framework.getBundle(bundleDescription.getBundleId());		if (bundle == null) {			BundleException be = new BundleException(NLS.bind(Msg.BUNDLE_NOT_IN_FRAMEWORK, bundleDescription)); //$NON-NLS-1$			framework.publishFrameworkEvent(FrameworkEvent.ERROR, framework.systemBundle, be);			return null;		}		if (bundle.isFragment()) {			BundleDescription[] hosts = bundleDescription.getHost().getHosts();			for (int i = 0; i < hosts.length; i++) {				BundleHost host = (BundleHost) framework.getBundle(hosts[0].getBundleId());				((BundleFragment) bundle).addHost(host.getLoaderProxy());			}		}		bundle.resolve();		return bundle;	}