{
BundleStore bundleStore = store.allocateBundleStore(bundleId, location);
ArchiveStore archiveStore = store.allocateArchiveStore(framework, bundleId, inputStream);
if (!archiveStore.getBundleNativeCodeList().isEmpty()) archiveStore.assignNativeCodeDescriptions(resolveNativeCodeDependencies(archiveStore.getBundleNativeCodeList()));
confirmRequiredExecutionEnvironment(archiveStore.getBundleRequiredExecutionEnvironment());
BundleController bundle = new BundleController(framework, bundleStore);