Package com.yahoo.osgi
Class MockOsgi
- java.lang.Object
-
- com.yahoo.jdisc.test.NonWorkingOsgiFramework
-
- com.yahoo.osgi.MockOsgi
-
-
Constructor Summary
Constructors Constructor Description MockOsgi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.Bundle
getBundle(com.yahoo.component.ComponentSpecification bundleId)
org.osgi.framework.Bundle[]
getBundles()
List<org.osgi.framework.Bundle>
getCurrentBundles()
Returns all bundles that have not been scheduled for uninstall.List<org.osgi.framework.Bundle>
install(String absolutePath)
-
Methods inherited from class com.yahoo.jdisc.test.NonWorkingOsgiFramework
allowDuplicateBundles, bundleContext, bundles, getBundles, installBundle, refreshPackages, start, startBundles, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.osgi.Osgi
allowDuplicateBundles, hasFelixFramework
-
-
-
-
Method Detail
-
getBundles
public org.osgi.framework.Bundle[] getBundles()
- Specified by:
getBundles
in interfaceOsgi
-
getCurrentBundles
public List<org.osgi.framework.Bundle> getCurrentBundles()
Description copied from interface:Osgi
Returns all bundles that have not been scheduled for uninstall.- Specified by:
getCurrentBundles
in interfaceOsgi
-
getBundle
public org.osgi.framework.Bundle getBundle(com.yahoo.component.ComponentSpecification bundleId)
-
-