if (stateManager != null) { BundleDescription bundleDescription = stateManager.getFactory().createBundleDescription(data.getManifest(), data.getLocation(), data.getBundleID()); stateManager.getSystemState().addBundle(bundleDescription); }
updateState(data, BundleEvent.INSTALLED);
			public void commit(boolean postpone) throws BundleException {				try {					data.save();				} catch (IOException e) {					throw new BundleException(AdaptorMsg.formatter.getString("ADAPTOR_STORAGE_EXCEPTION"), e); //$NON-NLS-1$				}				if (stateManager != null) {					BundleDescription bundleDescription = stateManager.getFactory().createBundleDescription(data.getManifest(), data.getLocation(), data.getBundleID());					stateManager.getSystemState().addBundle(bundleDescription);				}			}