Iterator setIterator = configBeans.keySet().iterator();
while (setIterator.hasNext())
{
String key = (String)setIterator.next();
JBossConfigBeanProxy val = (JBossConfigBeanProxy)configBeans.get(key);
val.save(jos, metaData);
}
try
{
String metaStr = metaData.toXMLString();
JarUtils.addJarEntry(jos, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));