Map<AnnotatedType<?>, ExtendedBeanAttributes<?>> annotatedTypes = new HashMap<>(); BeansDeployer beansDeployer = new BeansDeployer(wbc);
/** * Manages unused conversations */ public OpenEJBLifecycle(final WebBeansContext webBeansContext) { this.webBeansContext = webBeansContext; this.beanManager = webBeansContext.getBeanManagerImpl(); this.deployer = new BeansDeployer(webBeansContext); this.jndiService = webBeansContext.getService(JNDIService.class); this.scannerService = webBeansContext.getScannerService(); this.contextsService = webBeansContext.getContextsService(); }
protected AbstractLifeCycle(Properties properties, WebBeansContext webBeansContext) { beforeInitApplication(properties); this.webBeansContext = webBeansContext; beanManager = this.webBeansContext.getBeanManagerImpl(); deployer = new BeansDeployer(webBeansContext); jndiService = this.webBeansContext.getService(JNDIService.class); scannerService = this.webBeansContext.getScannerService(); contextsService = this.webBeansContext.getService(ContextsService.class); initApplication(properties); }
public OpenEJBLifecycle(final WebBeansContext webBeansContext) { this.webBeansContext = webBeansContext; beforeInitApplication(null); this.beanManager = webBeansContext.getBeanManagerImpl(); this.xmlDeployer = new WebBeansXMLConfigurator(); this.deployer = new BeansDeployer(this.xmlDeployer, webBeansContext); this.jndiService = webBeansContext.getService(JNDIService.class); this.beanManager.setXMLConfigurator(this.xmlDeployer); this.scannerService = webBeansContext.getScannerService(); this.contextsService = webBeansContext.getContextsService(); initApplication(null); }