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

Ales Justin do-not-reply at jboss.com
Thu Jun 24 03:32:15 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion

"Deployer ordering question (JBoss OSGi)"

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

--------------------------------------------------------------
> In the very last line I'm writing to the deployment metadata that is already in the deployment unit.
Yeah, but deployment metadata != deployment unit. ;-)
"adds some metadata to the deployment unit."
... anway, never mind, just being picky. :-)

> So I need a callback in the OSGiBundleState that calls me back at the right time so I can initialize the state based on what's in the OSGiMetaData. I couldn't find the right callback for that. Maybe we need to somehow get the OSGiStartLevelMetaDataDeployer to run a bit earlier as well to achieve this, I'm not sure...
I see bundle getting installed in OSGiBundleStateInstallDeployer.
I guess your deployer just needs to be the next in line?

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/549434#549434]

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/20100624/e562a9a7/attachment.html 


More information about the jboss-user mailing list