A nit; you can lose changes between the copy and the clear. Better is:
| Map<String, Deployment> copy = null;
| synchronized(toRedeploy)
| {
| copy = new LinkedHashMap<String, Deployment>(toRedeploy);
| toRedeploy.clear();
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211875#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...