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(a)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&...]