Registry / utility / org-apache-karaf-bundle-core

org-apache-karaf-bundle-core

JSON →
library4.4.11javamavenunverified

Bundle Services and API for Apache Karaf, providing core bundle management functionality.

<dependency> <groupId>org.apache.karaf.bundle</groupId> <artifactId>org.apache.karaf.bundle.core</artifactId> <version>4.4.11</version> </dependency>
INSTALL
IMPORT
SIG · ORG-APACHE-KARAF-B
O
org-apache-karaf-bundle-core
utilityjavav4.4.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BundleService
org.apache.karaf.bundle.core.BundleService

Lists all installed bundles using Karaf's BundleService.

import org.apache.karaf.bundle.core.BundleService; import org.osgi.framework.BundleContext; import org.osgi.framework.FrameworkUtil; public class Example { public void listBundles() { BundleContext context = FrameworkUtil.getBundle(this.getClass()).getBundleContext(); BundleService bundleService = context.getService(context.getServiceReference(BundleService.class)); bundleService.list().forEach(b -> System.out.println(b.getSymbolicName())); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.4.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
org-apache-karaf-bundle-core — mvn dependency:get org-apache-karaf-bundle-core · libregistry