Package org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi

Examples of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowContextManagerFactory


    @Inject
    public EditableWindowContextManagerProxy(WindowContextConfig windowContextConfig,
                                             ConversationConfig conversationConfig,
                                             BeanManager beanManager)
    {
        WindowContextManagerFactory windowContextManagerFactory =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextManagerFactory.class, true);

        if(windowContextManagerFactory != null)
        {
            this.editableWindowContextManager =
                    windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
        }
        else
        {
            this.editableWindowContextManager =
                    new DefaultWindowContextManager(windowContextConfig, conversationConfig,
View Full Code Here


    protected EditableWindowContextManager createWindowContextManager(WindowContextConfig windowContextConfig,
                                                                      ConversationConfig conversationConfig,
                                                                      ProjectStage projectStage,
                                                                      BeanManager beanManager)
    {
        WindowContextManagerFactory windowContextManagerFactory =
                getOrCreateScopedInstanceOfBeanByClass(beanManager, WindowContextManagerFactory.class, true);

        if(windowContextManagerFactory != null)
        {
            return windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
        }
        return new DefaultWindowContextManager(windowContextConfig, conversationConfig, projectStage, beanManager);
    }
View Full Code Here

    protected EditableWindowContextManager createWindowContextManager(WindowContextConfig windowContextConfig,
                                                                      ConversationConfig conversationConfig,
                                                                      ProjectStage projectStage,
                                                                      BeanManager beanManager)
    {
        WindowContextManagerFactory windowContextManagerFactory =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextManagerFactory.class, true);

        if(windowContextManagerFactory != null)
        {
            return windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
        }
        return new DefaultWindowContextManager(windowContextConfig, conversationConfig, projectStage, beanManager);
    }
View Full Code Here

    @Inject
    public EditableWindowContextManagerProxy(WindowContextConfig windowContextConfig,
                                             ConversationConfig conversationConfig,
                                             BeanManager beanManager)
    {
        WindowContextManagerFactory windowContextManagerFactory =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextManagerFactory.class, true);

        if(windowContextManagerFactory != null)
        {
            this.editableWindowContextManager =
                    windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
        }
        else
        {
            this.editableWindowContextManager =
                    new DefaultWindowContextManager(windowContextConfig, conversationConfig,
View Full Code Here

    @Inject
    public EditableWindowContextManagerProxy(WindowContextConfig windowContextConfig,
                                             ConversationConfig conversationConfig,
                                             BeanManager beanManager)
    {
        WindowContextManagerFactory windowContextManagerFactory =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextManagerFactory.class, true);

        if(windowContextManagerFactory != null)
        {
            this.editableWindowContextManager =
                    windowContextManagerFactory.createWindowContextManager(windowContextConfig, conversationConfig);
        }
        else
        {
            this.editableWindowContextManager =
                    new DefaultWindowContextManager(windowContextConfig, conversationConfig,
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi.WindowContextManagerFactory

Copyright © 2018 www.massapicom. 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.