Skip to main content

Pete McKinstry's Library tagged osgi   View Popular

25 Jul 08

Supporting OSGi Bundles in the Java Module System

Wombat application is packaged as a JAM file named "com.wombat.app-1.0.jam" and the OSGi bundles it depends on are packaged as JAR files containing the following manifests,2 per the OSGi specifications:

org.apache.xerces.parsers:
Bundle-SymbolicName: org.apache.xerces.parsers
Bundle-Version: 2.9.10

Export-Package: org.apache.xerces.parsers; version=2.6.6; uses="org.apache.commons.logging",
org.apache.xerces.jaxp; version=2.6.6,
org.apache.xerces.framework; version=2.6.6,
org.apache.xerces.readers; version=2.6.6,
org.apache.xerces.utils; version=2.6.6,
org.apache.commons.logging; version=1.0.4
Import-Package: javax.xml.parsers; version=1.2.0,
org.w3c.dom; version=1.0.0,
org.xml.sax; version=2.0.1
Require-Bundle: org.osgi.util.xml; version=1.0.0; visibility:=reexport; resolution:=optional

org.apache.derby:
Bundle-SymbolicName: org.apache.derby
Bundle-Version: 10.0.2
Export-Package: org.apache.derby.authentication,
org.apache.derby.database,
org.apache.derby.io,
org.apache.derby.jdbc
Import-Package: java.sql


2These example manifests are for illustration pur

openjdk.java.net/...osgi-support-draft.html - Preview

osgi java module jsr277 jsr291

Spring and OSGi

  • ean referenced by implements Spring’s FactoryBean interface or has lazy-init set to true in its definition then service registered by will actually by a ServiceFactory proxy for the factory rather than an instantiated bean. - pmckinstry on 2006-10-01
1 - 20 of 21 Next ›
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo