archive.osgi
Archive extension for OSGi bundles
Programmatically read and write OSGi bundles
Examples
The following on OSGi bundle with the specified activator (validating that it implements BundleActivator):
Archive archive = archive()
.configured(asOsgiBundle()
.named("sym.nom")
.withActivator(DummyActivator.class))
.toObjectModel();
(source).