@Override
    public List<Bundle> installBundle(String bundleLocation) {
        if (bundleLocation != null && ! bundleLocation.isEmpty()) {
            try {
                URL url = new URL(bundleLocation);
                bundleLocations.add(url);
                bundleList.add(new JarBundleImpl(url));
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }

        return bundles();
    }
A (mock) OSGI implementation which loads classes from the system classpath

@author Tony Vaagenes
@author ollivir
standalone-container/src/main/java/com/yahoo/application/container/impl/ClassLoaderOsgiFramework.java