JBoss Community

Deployer ordering question (JBoss OSGi)

created by David Bosschaert in JBoss Microcontainer - View the full discussion

In the JBoss OSGi project I have a deployer that adds some metadata to the deployment unit.

 

In the OSGiBundleState I want to read that metadata out again after the bundle is installed. Currently in the code it initialises that metadata at the beginning of the start() method but that's really too late because you also want to be able to read out the start level of bundles that are just installed.

 

Is there a callback I can add to OSGiBundleState that gets called after my OSGiStartLevelMetaDataDeployer has run but still as part of the bundle install?

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community