Before i post the logs, the example i showed in my first post was 
theoretical/trimmed down version of the actual deployers. These logs will 
contain the real deployer names. I'll explain what each deployers expects as 
input and what it produces as output.

Here's the log output from DeployersImpl:

2009-03-13 14:30:24,252 DEBUG 
[org.jboss.deployers.plugins.deployers.DeployersImpl] Added deployer 
org.jboss.ejb3.nointerface.deployers.finaldeplo...@1cd3dd7 for stage Real
  | 
org.jboss.ejb3.nointerface.deployers.finaldeplo...@1cd3dd7{inputs=[org.jboss.metadata.ejb.jboss.jbossmetadata,
 org.jboss.ejb3.Ejb3Deployment] outputs=[]}
  | 
org.jboss.ejb3.nointerface.test.deployers.ejbmoduledeplo...@75c744{inputs=[org.jboss.metadata.ejb.jboss.jbossmetadata]
 outputs=[org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData, 
org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.ejb3.nointerface.test.deployers.ejbcomponentdeplo...@12ca580{inputs=[org.jboss.metadata.ejb.jboss.jbossenterprisebeanmetadata]
 outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.deployers.vfs.deployer.kernel.kerneldeploymentdeplo...@391da0{inputs=[org.jboss.beans.metadata.spi.beanmetadata,
 org.jboss.kernel.spi.deployment.KernelDeployment] 
outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeplo...@a0e990{inputs=[org.jboss.beans.metadata.spi.beanmetadata]
 outputs=[]}
  | 
  | 
In the logs,

1) The FinalDeployer is the FinalDeployer that i had posted in the 
trimmed/theoretical example in my first post. Relies on JBossMetaData *and* 
Ejb3Deployment as the inputs
2) The EjbModuleDeployer is the SecondDeployer (refered in my first post). This 
generates (output) Ejb3Deployment required by the FinalDeployer.

That log shows that the FinalDeployer is considered *before* EjbModuleDeployer.

Now when i set the relative order of FinalDeployer to Integer.MAX_VALUE, i'll 
get this log :

2009-03-13 14:36:57,683 DEBUG 
[org.jboss.deployers.plugins.deployers.DeployersImpl] Added deployer 
org.jboss.ejb3.nointerface.deployers.finaldeplo...@150f0a7 for stage Real
  | 
org.jboss.ejb3.nointerface.test.deployers.ejbmoduledeplo...@ca5bff{inputs=[org.jboss.metadata.ejb.jboss.jbossmetadata]
 outputs=[org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData, 
org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.ejb3.nointerface.test.deployers.ejbcomponentdeplo...@151ac10{inputs=[org.jboss.metadata.ejb.jboss.jbossenterprisebeanmetadata]
 outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.deployers.vfs.deployer.kernel.kerneldeploymentdeplo...@1dcc4cd{inputs=[org.jboss.beans.metadata.spi.beanmetadata,
 org.jboss.kernel.spi.deployment.KernelDeployment] 
outputs=[org.jboss.beans.metadata.spi.BeanMetaData]}
  | 
org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeplo...@72d873{inputs=[org.jboss.beans.metadata.spi.beanmetadata]
 outputs=[]}
  | 
org.jboss.ejb3.nointerface.deployers.finaldeplo...@150f0a7{inputs=[org.jboss.metadata.ejb.jboss.jbossmetadata,
 org.jboss.ejb3.Ejb3Deployment] outputs=[]}
  | 
  | 
As expected the FinalDeployer is the last one.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217763#4217763

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217763
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to