Package dev.galasa.framework
Class BundleManagement
java.lang.Object
dev.galasa.framework.BundleManagement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBundleActive(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Is the supplied active in the OSGi frameworkstatic voidloadAllGherkinManagerBundles(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) static voidloadBundle(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Load a bundle from the OSGi Bundle Repository
-
Constructor Details
-
BundleManagement
public BundleManagement()
-
-
Method Details
-
loadBundle
public static void loadBundle(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) throws FrameworkException Load a bundle from the OSGi Bundle Repository- Parameters:
repositoryAdmin-bundleContext-bundleSymbolicName-- Throws:
FrameworkException
-
loadAllGherkinManagerBundles
public static void loadAllGherkinManagerBundles(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) throws FrameworkException - Throws:
FrameworkException
-
isBundleActive
public static boolean isBundleActive(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Is the supplied active in the OSGi framework- Parameters:
bundleContext-bundleSymbolicName-- Returns:
- true if it is ib the or false
-