int bundleType = TYPE_FRAGMENT;
bundleType |= TYPE_FRAGMENT;
	protected void loadFromManifest() throws IOException, BundleException {		getManifest();		if (manifest == null) {			throw new IOException(NLS.bind(AdaptorMsg.ADAPTOR_ERROR_GETTING_MANIFEST, getLocation())); //$NON-NLS-1$		}		setVersion(Version.parseVersion((String) manifest.get(Constants.BUNDLE_VERSION)));		setSymbolicName(AbstractBundleData.parseSymbolicName(manifest));		setClassPathString((String) manifest.get(Constants.BUNDLE_CLASSPATH));		setActivator((String) manifest.get(Constants.BUNDLE_ACTIVATOR));		String host = (String) manifest.get(Constants.FRAGMENT_HOST);		if (host != null) {			int bundleType = TYPE_FRAGMENT;			ManifestElement[] hostElement = ManifestElement.parseHeader(Constants.FRAGMENT_HOST, host);			if (Constants.getInternalSymbolicName().equals(hostElement[0].getValue()) || Constants.OSGI_SYSTEM_BUNDLE.equals(hostElement[0].getValue())) {				String extensionType = hostElement[0].getDirective("extension"); //$NON-NLS-1$				if (extensionType == null || extensionType.equals("framework")) //$NON-NLS-1$					bundleType |= TYPE_FRAMEWORK_EXTENSION;				else					bundleType |= TYPE_BOOTCLASSPATH_EXTENSION;			}			setType(bundleType);		}		setExecutionEnvironment((String) manifest.get(Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT));		setDynamicImports((String) manifest.get(Constants.DYNAMICIMPORT_PACKAGE));	}