Class ClassLoaderOsgiFramework
java.lang.Object
com.yahoo.application.container.impl.ClassLoaderOsgiFramework
- All Implemented Interfaces:
com.yahoo.jdisc.application.OsgiFramework
public final class ClassLoaderOsgiFramework
extends Object
implements com.yahoo.jdisc.application.OsgiFramework
A (mock) OSGI implementation which loads classes from the system classpath
- Author:
- Tony Vaagenes, ollivir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallowDuplicateBundles(Collection<org.osgi.framework.Bundle> bundles) org.osgi.framework.BundleContextList<org.osgi.framework.Bundle>bundles()List<org.osgi.framework.Bundle>getBundles(org.osgi.framework.Bundle requestingBundle) List<org.osgi.framework.Bundle>installBundle(String bundleLocation) voidvoidstart()voidstartBundles(List<org.osgi.framework.Bundle> bundles, boolean privileged) voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.jdisc.application.OsgiFramework
isFelixFramework
-
Constructor Details
-
ClassLoaderOsgiFramework
public ClassLoaderOsgiFramework()
-
-
Method Details
-
installBundle
- Specified by:
installBundlein interfacecom.yahoo.jdisc.application.OsgiFramework
-
startBundles
- Specified by:
startBundlesin interfacecom.yahoo.jdisc.application.OsgiFramework
-
refreshPackages
public void refreshPackages()- Specified by:
refreshPackagesin interfacecom.yahoo.jdisc.application.OsgiFramework
-
bundleContext
public org.osgi.framework.BundleContext bundleContext()- Specified by:
bundleContextin interfacecom.yahoo.jdisc.application.OsgiFramework
-
bundles
- Specified by:
bundlesin interfacecom.yahoo.jdisc.application.OsgiFramework
-
getBundles
- Specified by:
getBundlesin interfacecom.yahoo.jdisc.application.OsgiFramework
-
allowDuplicateBundles
- Specified by:
allowDuplicateBundlesin interfacecom.yahoo.jdisc.application.OsgiFramework
-
start
public void start()- Specified by:
startin interfacecom.yahoo.jdisc.application.OsgiFramework
-
stop
public void stop()- Specified by:
stopin interfacecom.yahoo.jdisc.application.OsgiFramework
-