/* 375 */ contextID = this.deploymentUnit.getSimpleName();
/* */ }
/* */
/* 378 */ while (beans.hasNext())
/* */ {
/* 380 */ BeanMetaData bean = (BeanMetaData)beans.next();
/* 381 */ log.info("Deploying " + bean.getEjbName());
/* 382 */ Container con = createContainer(bean, this.deploymentUnit);
/* 383 */ addContainer(con);
/* */
/* 385 */ con.setJaccContextID(contextID);
/* */ }
/* */
/* 392 */ ListIterator iter = this.containerOrdering.listIterator();
/* 393 */ while (iter.hasNext())
/* */ {
/* 395 */ Container con = (Container)iter.next();
/* 396 */ ObjectName jmxName = con.getJmxName();
/* */
/* 400 */ this.server.registerMBean(con, jmxName);
/* */
/* 402 */ BeanMetaData metaData = con.getBeanMetaData();
/* 403 */ Collection depends = new ArrayList();
/* 404 */ for (String dependsName : metaData.getDepends())
/* */ {
/* 406 */ depends.add(ObjectName.getInstance(dependsName));
/* */ }
/* 408 */ this.serviceController.create(jmxName, depends);
/* */