Package com.yahoo.osgi
Class MockOsgi
java.lang.Object
com.yahoo.jdisc.test.NonWorkingOsgiFramework
com.yahoo.osgi.MockOsgi
- All Implemented Interfaces:
com.yahoo.jdisc.application.OsgiFramework,Osgi
- Author:
- Tony Vaagenes, gjoranv
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.jdisc.test.NonWorkingOsgiFramework
allowDuplicateBundles, bundleContext, bundles, getBundles, installBundle, refreshPackages, start, startBundles, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.osgi.Osgi
allowDuplicateBundles, hasFelixFrameworkMethods inherited from interface com.yahoo.jdisc.application.OsgiFramework
isFelixFramework
-
Constructor Details
-
MockOsgi
public MockOsgi()
-
-
Method Details
-
getBundles
public org.osgi.framework.Bundle[] getBundles()- Specified by:
getBundlesin interfaceOsgi
-
getCurrentBundles
Description copied from interface:OsgiReturns all bundles that have not been scheduled for uninstall.- Specified by:
getCurrentBundlesin interfaceOsgi
-
getBundle
public org.osgi.framework.Bundle getBundle(com.yahoo.component.ComponentSpecification bundleId) -
install
-