Package dev.galasa.framework
Class BundleManager
java.lang.Object
dev.galasa.framework.BundleManager
- All Implemented Interfaces:
IBundleManager
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
BundleManager
public BundleManager()
-
-
Method Details
-
isBundleActive
public boolean isBundleActive(org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) Description copied from interface:IBundleManagerIs the supplied active in the OSGi framework- Specified by:
isBundleActivein interfaceIBundleManager- Returns:
- true if it is active or false otherwise.
-
loadAllGherkinManagerBundles
public void loadAllGherkinManagerBundles(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext) throws FrameworkException - Specified by:
loadAllGherkinManagerBundlesin interfaceIBundleManager- Throws:
FrameworkException
-
loadBundle
public void loadBundle(org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin, org.osgi.framework.BundleContext bundleContext, String bundleSymbolicName) throws FrameworkException - Specified by:
loadBundlein interfaceIBundleManager- Throws:
FrameworkException
-