dep.setStartLevel(level.intValue());
dep.setAutoStart(true);
}
BundleStorage storageProvider = injectedStorageProvider.getValue();
Long bundleId = injectedEnvironment.getValue().nextResourceIdentifier(null, dep.getSymbolicName());
StorageState storageState = storageProvider.createStorageState(bundleId, location, startlevel, null);
dep.addAttachment(StorageState.class, storageState);
return dep;
}