Class MockOsgiWrapper
java.lang.Object
com.yahoo.container.core.config.testutil.MockOsgiWrapper
- All Implemented Interfaces:
Osgi
,Osgi
,OsgiWrapper
- Author:
- gjoranv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allowDuplicateBundles
(Collection<org.osgi.framework.Bundle> bundles) org.osgi.framework.Bundle
getBundle
(com.yahoo.component.ComponentSpecification bundleId) org.osgi.framework.Bundle[]
List<org.osgi.framework.Bundle>
Returns all bundles that have not been scheduled for uninstall.List<org.osgi.framework.Bundle>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.container.di.Osgi
installPlatformBundles, resolveClass, useApplicationBundles
Methods inherited from interface com.yahoo.osgi.Osgi
hasFelixFramework
-
Constructor Details
-
MockOsgiWrapper
public MockOsgiWrapper()
-
-
Method Details
-
getBundles
public org.osgi.framework.Bundle[] getBundles()- Specified by:
getBundles
in interfaceOsgi
-
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) -
install
-
allowDuplicateBundles
- Specified by:
allowDuplicateBundles
in interfaceOsgi
-