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

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


                    CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

            WindowContextConfig windowContextConfig =
                    CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

            ViewAccessConversationExpirationEvaluatorRegistry registry =
                    CodiUtils.getContextualReferenceByClass(
                            beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

            UIViewRoot uiViewRoot = facesContext.getViewRoot();

            //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
            if(uiViewRoot == null)
            {
                return;
            }

            registry.broadcastRenderedViewId(uiViewRoot.getViewId());

            storeCurrentViewIdAsOldViewId(facesContext);

            if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
            {
View Full Code Here


                CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

        WindowContextConfig windowContextConfig =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

        ViewAccessConversationExpirationEvaluatorRegistry registry =
                CodiUtils.getContextualReferenceByClass(
                        beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

        registry.broadcastRenderedViewId(facesContext.getViewRoot().getViewId());

        storeCurrentViewIdAsOldViewId(facesContext);

        if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
        {
View Full Code Here

                    CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

            WindowContextConfig windowContextConfig =
                    CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

            ViewAccessConversationExpirationEvaluatorRegistry registry =
                    CodiUtils.getContextualReferenceByClass(
                            beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

            UIViewRoot uiViewRoot = facesContext.getViewRoot();

            //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
            if(uiViewRoot == null)
            {
                return;
            }

            registry.broadcastRenderedViewId(uiViewRoot.getViewId());

            storeCurrentViewIdAsOldViewId(facesContext);

            if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
            {
View Full Code Here

                    CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

            WindowContextConfig windowContextConfig =
                    CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

            ViewAccessConversationExpirationEvaluatorRegistry registry =
                    CodiUtils.getContextualReferenceByClass(
                            beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

            UIViewRoot uiViewRoot = facesContext.getViewRoot();

            //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
            if(uiViewRoot == null)
            {
                return;
            }

            registry.broadcastRenderedViewId(uiViewRoot.getViewId());

            storeCurrentViewIdAsOldViewId(facesContext);

            if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
            {
View Full Code Here

                CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

        WindowContextConfig windowContextConfig =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

        ViewAccessConversationExpirationEvaluatorRegistry registry =
                CodiUtils.getContextualReferenceByClass(
                        beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

        UIViewRoot uiViewRoot = facesContext.getViewRoot();

        //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
        if(uiViewRoot == null)
        {
            return;
        }

        registry.broadcastRenderedViewId(uiViewRoot.getViewId());

        storeCurrentViewIdAsOldViewId(facesContext);

        if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
        {
View Full Code Here

                CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

        WindowContextConfig windowContextConfig =
                CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

        ViewAccessConversationExpirationEvaluatorRegistry registry =
                CodiUtils.getContextualReferenceByClass(
                        beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

        UIViewRoot uiViewRoot = facesContext.getViewRoot();

        //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
        if(uiViewRoot == null)
        {
            return;
        }

        registry.broadcastRenderedViewId(uiViewRoot.getViewId());

        storeCurrentViewIdAsOldViewId(facesContext);

        if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
        {
View Full Code Here

                    CodiUtils.getContextualReferenceByClass(beanManager, EditableWindowContextManager.class);

            WindowContextConfig windowContextConfig =
                    CodiUtils.getContextualReferenceByClass(beanManager, WindowContextConfig.class);

            ViewAccessConversationExpirationEvaluatorRegistry registry =
                    CodiUtils.getContextualReferenceByClass(
                            beanManager, ViewAccessConversationExpirationEvaluatorRegistry.class);

            UIViewRoot uiViewRoot = facesContext.getViewRoot();

            //e.g. in case of a ViewExpiredException (e.g. in case of an expired session)
            if(uiViewRoot == null)
            {
                return;
            }

            registry.broadcastRenderedViewId(uiViewRoot.getViewId());

            storeCurrentViewIdAsOldViewId(facesContext);

            if(windowContextConfig.isCloseEmptyWindowContextsEnabled())
            {
View Full Code Here

TOP

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

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.