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