Package dev.galasa.framework
Interface IBundleManager
public interface IBundleManager
Allows for some control over loading extra bundles, and seeing if bundles are already loaded.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBundleActive
(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Is the supplied active in the OSGi frameworkvoid
loadAllGherkinManagerBundles
(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) void
loadBundle
(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
-