// j2ee application
Map apps = mgr.getJ2eeApplications();
Collection aValues = apps.values();
for (Iterator iter=aValues.iterator(); iter.hasNext();) {
J2eeApplication app = (J2eeApplication) iter.next();
// ejb bundles
List ejbBundles = app.getEjbBundles();
if (ejbBundles != null) {
for (Iterator itr=ejbBundles.iterator(); itr.hasNext();) {
String ejb = (String) itr.next();
try {
Map m = getEjbBundleInfo(configCtx, app.getName(), ejb);
map.put(m.get(WebServiceInfoProvider.
SUN_EJB_JAR_XML_LOCATION_PROP_NAME), m);
} catch (RepositoryException re) { }
}
}
// web bundles
List webBundles = app.getWebBundles();
if (webBundles != null) {
for (Iterator itr=webBundles.iterator(); itr.hasNext();) {
String web = (String) itr.next();
try {
Map m = getWebBundleInfo(configCtx, app.getName(), web);
map.put(m.get(WebServiceInfoProvider.
SUN_WEB_XML_LOCATION_PROP_NAME), m);
} catch (RepositoryException re) { }
}
}