* @throws BundleException if something went wrong while installing or starting the bundles.
*/
private static void installAndStartBundles(String... bundleLocations) throws BundleException
{
BundleContext bundleContext = m_framework.getBundleContext();
Activator hostActivator = new Activator();
hostActivator.start(bundleContext);
for (String location : bundleLocations)
{
Bundle addition = bundleContext.installBundle(location);
addition.start();
}