appContext.getWebContexts().add(webContext);
cs.addWebContext(webContext);
if (!contextInfo.appInfo.webAppAlone) {
final List<BeanContext> beanContexts = assembler.initEjbs(classLoader, contextInfo.appInfo, appContext, injections, new ArrayList<BeanContext>(), webAppInfo.moduleId);
new CdiBuilder().build(contextInfo.appInfo, appContext, beanContexts, webContext);
assembler.startEjbs(true, beanContexts);
}
standardContext.setInstanceManager(new JavaeeInstanceManager(webContext, standardContext));
standardContext.getServletContext().setAttribute(InstanceManager.class.getName(), standardContext.getInstanceManager());