JBoss Community

Deployer ordering question (JBoss OSGi)

reply from Ales Justin in JBoss Microcontainer - View the full discussion
In the JBoss OSGi project I have a deployer that adds some metadata to the deployment unit.

I only see you reading from deployment unit, but not writing.

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?

I don't understand what exactly do you mean / need.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community