[jboss-user] [JBoss Microcontainer] - Deployer ordering question (JBoss OSGi)

David Bosschaert do-not-reply at jboss.com
Wed Jun 23 09:58:56 EDT 2010


David Bosschaert [http://community.jboss.org/people/bosschaert] created the discussion

"Deployer ordering question (JBoss OSGi)"

To view the discussion, visit: http://community.jboss.org/message/549346#549346

--------------------------------------------------------------
In the JBoss OSGi project I have  http://github.com/jbosgi/jbosgi-framework/blob/master/core/src/main/java/org/jboss/osgi/framework/deployers/OSGiStartLevelMetaDataDeployer.java a deployer that adds some metadata to the deployment unit.

In the  http://github.com/jbosgi/jbosgi-framework/blob/master/core/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleState.java 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
[http://community.jboss.org/message/549346#549346]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100623/85ffcc8d/attachment-0001.html 


More information about the jboss-user mailing list