Scott,

Inside the MainDeployer there is a method 'removeDeployer', inside this method 
there is the following line: -

suffixOrderHelper.removeSuffixes(deployer.getSuffixes(), 
deployer.getRelativeOrder());

This removes the suffix from the list in the SuffixOrderHelper.

The 'addSuffixes' method of the SuffixOrderHelper makes sure that each suffix 
can only be added once.

This would mean that the three deployers 'JARDepoyer, EJBDeployer and 
ClientDeployer' would result in the 'jar' suffix being added once and the first 
one to be undeployed would result in the 'jar' suffix from being removed.

This does assume that you are adding the suffixes with the same relative order, 
however if they are being deployed with different relative orders you are back 
to the problem that the deployments are not sorted by deployer even if the 
deployers have different relative orders.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871004


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to