Examples of WindowContextManager


Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

     * @return instance of the scoped bean
     */
    @SuppressWarnings({"UnnecessaryLocalVariable"})
    public <T> T resolve(Bean<T> bean)
    {
        WindowContextManager windowContextManager = resolveWindowContextManager();

        T foundBeanInstance = resolveBeanInstance(windowContextManager, bean);

        return foundBeanInstance;
    }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

        uiViewRoot.getChildren().add(createComponentWithCurrentWindowContextId());
    }

    private static WindowContextIdHolderComponent createComponentWithCurrentWindowContextId()
    {
        WindowContextManager conversationManager = CodiUtils.getContextualReferenceByClass(WindowContextManager.class);

        return new WindowContextIdHolderComponent(conversationManager.getCurrentWindowContext().getId());
    }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

        }
        //workaround for weld - end

        lazyInitConversationConfig();

        WindowContextManager windowContextManager = resolveWindowContextManager();

        BeanEntry<T> beanEntry = resolveBeanEntryFactory().createBeanEntry(bean,
                                                                           creationalContext,
                                                                           this.scopeBeanEventEnable,
                                                                           this.accessBeanEventEnable,
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

     * @return instance of the scoped bean
     */
    @SuppressWarnings({"UnnecessaryLocalVariable"})
    public <T> T resolve(Bean<T> bean)
    {
        WindowContextManager windowContextManager = resolveWindowContextManager();

        T foundBeanInstance = resolveBeanInstance(windowContextManager, bean);

        return foundBeanInstance;
    }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

        uiViewRoot.getChildren().add(createComponentWithCurrentWindowContextId());
    }

    private static WindowContextIdHolderComponent createComponentWithCurrentWindowContextId()
    {
        WindowContextManager conversationManager = CodiUtils.getContextualReferenceByClass(WindowContextManager.class);

        return new WindowContextIdHolderComponent(conversationManager.getCurrentWindowContext().getId());
    }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

        }
        //workaround for weld - end

        lazyInitConversationConfig();

        WindowContextManager windowContextManager = resolveWindowContextManager();

        BeanEntry<T> beanEntry = resolveBeanEntryFactory().createBeanEntry(bean,
                                                                           creationalContext,
                                                                           this.scopeBeanEventEnable,
                                                                           this.accessBeanEventEnable,
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

     * @return instance of the scoped bean
     */
    @SuppressWarnings({"UnnecessaryLocalVariable"})
    public <T> T resolve(Bean<T> bean)
    {
        WindowContextManager windowContextManager = resolveWindowContextManager();

        T foundBeanInstance = resolveBeanInstance(windowContextManager, bean);

        return foundBeanInstance;
    }
View Full Code Here

Examples of org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager

        uiViewRoot.getChildren().add(createComponentWithCurrentWindowContextId());
    }

    private static WindowContextIdHolderComponent createComponentWithCurrentWindowContextId()
    {
        WindowContextManager conversationManager = CodiUtils.getContextualReferenceByClass(WindowContextManager.class);

        return new WindowContextIdHolderComponent(conversationManager.getCurrentWindowContext().getId());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.