[jboss-user] [JBoss Microcontainer] - Deployer ordering question (JBoss OSGi)
Thomas Diesler
do-not-reply at jboss.com
Fri Jun 25 05:31:39 EDT 2010
Thomas Diesler [http://community.jboss.org/people/thomas.diesler%40jboss.com] replied to the discussion
"Deployer ordering question (JBoss OSGi)"
To view the discussion, visit: http://community.jboss.org/message/549653#549653
--------------------------------------------------------------
In
/**
* @author <a href="david at redhat.com">David Bosschaert</a>
*/
public class OSGiStartLevelMetaDataDeployer extends AbstractRealDeployer
{
you can add some output type to the deployment unit, which you can add to the inputs of
public class OSGiBundleStateInstallDeployer extends AbstractSimpleRealDeployer<AbstractBundleState>
{
public OSGiBundleStateInstallDeployer()
{
super(AbstractBundleState.class);
addInput(ClassLoadingMetaData.class);
setStage(DeploymentStages.POST_PARSE);
setTopLevelOnly(true);
}
This would ensure that the SLMDD get executed before.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549653#549653]
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/20100625/43d26a6f/attachment.html
More information about the jboss-user
mailing list