@Override
    public void startBundles(List<Bundle> bundles, boolean privileged) throws BundleException {
        for (Bundle bundle : bundles) {
            if (!privileged && OsgiHeader.isSet(bundle, OsgiHeader.PRIVILEGED_ACTIVATOR)) {
                log.log(Level.INFO, "OSGi bundle '" + bundle.getSymbolicName() + "' " +
                        "states that it requires privileged " +
                        "initialization, but privileges are not available. YMMV.");
            }
            if (bundle.getHeaders().get(Constants.FRAGMENT_HOST) != null) {
                continue; // fragments can not be started
            }
            bundle.start();
        }
        log.fine(startedBundlesMessage(bundles));
    }
@author Simon Thoresen Hult
@author gjoranv
jdisc_core/src/main/java/com/yahoo/jdisc/core/FelixFramework.java