Package dev.galasa.framework
Interface IBundleManager
- All Known Implementing Classes:
BundleManager
public interface IBundleManager
Allows for some control over loading extra bundles, and seeing if bundles are already loaded.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisBundleActive(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Is the supplied active in the OSGi frameworkvoidloadAllGherkinManagerBundles(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) voidloadBundle(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName)
-
Method Details
-
isBundleActive
Is the supplied active in the OSGi framework- Parameters:
bundleContext-bundleSymbolicName-- Returns:
- true if it is active or false otherwise.
-
loadAllGherkinManagerBundles
void loadAllGherkinManagerBundles(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) throws FrameworkException - Throws:
FrameworkException
-
loadBundle
void loadBundle(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) throws FrameworkException - Throws:
FrameworkException
-