Package org.apache.myfaces.spi

Examples of org.apache.myfaces.spi.ViewScopeProviderFactory


            }

        }
        if (viewScopeProxyMap != null)
        {
            ViewScopeProviderFactory factory = ViewScopeProviderFactory.getViewScopeHandlerFactory(
                context.getExternalContext());
            ViewScopeProvider handler = factory.getViewScopeHandler(context.getExternalContext());
            viewCollection.put(context, serializeView(context, serializedView), nextKey, key,
                    handler, viewScopeProxyMap.getViewScopeId());
        }
        else
        {
View Full Code Here


            initCDIIntegration(servletContext, externalContext);
           
            initContainerIntegration(servletContext, externalContext);
           
            ViewScopeProviderFactory factory = ViewScopeProviderFactory.getViewScopeHandlerFactory(
                externalContext);
           
            ViewScopeProvider viewScopeHandler = factory.getViewScopeHandler(
                externalContext);
           
            ManagedBeanDestroyerListener listener = (ManagedBeanDestroyerListener)
                externalContext.getApplicationMap().get(
                    ManagedBeanDestroyerListener.APPLICATION_MAP_KEY);
View Full Code Here

            initCDIIntegration(servletContext, externalContext);
           
            initContainerIntegration(servletContext, externalContext);
           
            ViewScopeProviderFactory factory = ViewScopeProviderFactory.getViewScopeHandlerFactory(
                externalContext);
           
            ViewScopeProvider viewScopeHandler = factory.getViewScopeHandler(
                externalContext);
           
            ManagedBeanDestroyerListener listener = (ManagedBeanDestroyerListener)
                externalContext.getApplicationMap().get(
                    ManagedBeanDestroyerListener.APPLICATION_MAP_KEY);
View Full Code Here

    {
        if (_delegate == null)
        {
            FacesContext facesContext = FacesContext.getCurrentInstance();
           
            ViewScopeProviderFactory factory = ViewScopeProviderFactory.getViewScopeHandlerFactory(
                facesContext.getExternalContext());
           
            ViewScopeProvider handler = factory.getViewScopeHandler(facesContext.getExternalContext());
           
            if (_viewScopeId == null)
            {
                _viewScopeId = handler.generateViewScopeId(facesContext);
                _delegate = handler.createViewScopeMap(facesContext, _viewScopeId);
View Full Code Here

TOP

Related Classes of org.apache.myfaces.spi.ViewScopeProviderFactory

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.