protected AbstractContextsService(WebBeansContext webBeansContext) { this.webBeansContext = webBeansContext; supportsConversation = webBeansContext.getOpenWebBeansConfiguration().supportsConversation(); }
public CdiAppContextsService() { this(WebBeansContext.currentInstance(), WebBeansContext.currentInstance().getOpenWebBeansConfiguration().supportsConversation()); }
if (webBeansContext.getOpenWebBeansConfiguration().supportsConversation() && "org.apache.webbeans.jsf.DefaultConversationService".equals(webBeansContext.getOpenWebBeansConfiguration().getProperty(ConversationService.class.getName()))) { webBeansContext.registerService(ConversationService.class, ConversationService.class.cast(webBeansContext.getService(ContextsService.class)));