Examples of ensureFailover()


Examples of org.apache.beehive.netui.pageflow.ServletContainerAdapter.ensureFailover()

            ServletContainerAdapter sa = AdapterManager.getServletContainerAdapter( getServletContext() );
           
            for ( Iterator i = failoverAttrs.entrySet().iterator(); i.hasNext(); )
            {
                Map.Entry entry = ( Map.Entry ) i.next();
                sa.ensureFailover( ( String ) entry.getKey(), entry.getValue(), request );
            }
        }
    }
   
    public void ensureFailover( RequestContext context, String attributeName, Object value )
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.ServletContainerAdapter.ensureFailover()

            {
                Map.Entry entry = ( Map.Entry ) i.next();
                if (_log.isTraceEnabled()) {
                    _log.trace("Ensure failover for attribute " + entry.getKey());
                }
                sa.ensureFailover( ( String ) entry.getKey(), entry.getValue(), request );
            }
        }
    }

    public void dropChanges(RequestContext context)
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.ServletContainerAdapter.ensureFailover()

                    // This ThreadLocal value allows others (e.g., an HttpSessionBindingListener like
                    // PageFlowManagedObject) that we're in the middle of committing changes to the session.
                    _isCommittingChanges.set(Boolean.TRUE);
                    try {
                        sa.ensureFailover( ( String ) entry.getKey(), entry.getValue(), request );
                    }
                    finally {
                        _isCommittingChanges.set(Boolean.FALSE);
                    }
                }
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

    public void ensureFailover( HttpServletRequest request )
    {
        StorageHandler sh = Handlers.get( getServletContext() ).getStorageHandler();
        HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart( request );
        RequestContext rc = new RequestContext( unwrappedRequest, null );
        sh.ensureFailover( rc, InternalConstants.SHARED_FLOW_ATTR_PREFIX + getClass().getName(), this );
    }
   
    /**
     * Get the URI.
     * @return <code>null</code>, as this object is not URL-addressible.
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

            {
                String longLivedAttrName = InternalUtils.getLongLivedFlowAttr( getModulePath() );
                longLivedAttrName = ScopedServletUtils.getScopedSessionAttrName( longLivedAttrName, unwrappedRequest );
                String currentLongLivedAttrName =
                    ScopedServletUtils.getScopedSessionAttrName( CURRENT_LONGLIVED_ATTR, unwrappedRequest );
                sh.ensureFailover( rc, longLivedAttrName, this );
                sh.ensureFailover( rc, currentLongLivedAttrName, getModulePath() );
            }
            else
            {
                String attrName = ScopedServletUtils.getScopedSessionAttrName( CURRENT_JPF_ATTR, unwrappedRequest );
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

                String longLivedAttrName = InternalUtils.getLongLivedFlowAttr( getModulePath() );
                longLivedAttrName = ScopedServletUtils.getScopedSessionAttrName( longLivedAttrName, unwrappedRequest );
                String currentLongLivedAttrName =
                    ScopedServletUtils.getScopedSessionAttrName( CURRENT_LONGLIVED_ATTR, unwrappedRequest );
                sh.ensureFailover( rc, longLivedAttrName, this );
                sh.ensureFailover( rc, currentLongLivedAttrName, getModulePath() );
            }
            else
            {
                String attrName = ScopedServletUtils.getScopedSessionAttrName( CURRENT_JPF_ATTR, unwrappedRequest );
                sh.ensureFailover( rc, attrName, this );
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

                sh.ensureFailover( rc, currentLongLivedAttrName, getModulePath() );
            }
            else
            {
                String attrName = ScopedServletUtils.getScopedSessionAttrName( CURRENT_JPF_ATTR, unwrappedRequest );
                sh.ensureFailover( rc, attrName, this );
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

        StorageHandler sh = Handlers.get( servletContext ).getStorageHandler();
        HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart( request );
        RequestContext rc = new RequestContext( unwrappedRequest, null );
        String attrName = ScopedServletUtils.getScopedSessionAttrName( JPF_STACK_ATTR, unwrappedRequest );
       
        sh.ensureFailover( rc, attrName, this );
    }
   
    void save( HttpServletRequest request )
    {
        StorageHandler sh = Handlers.get( getServletContext() ).getStorageHandler();
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

        StorageHandler sh = Handlers.get( getServletContext() ).getStorageHandler();
        HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart( request );
        RequestContext rc = new RequestContext( unwrappedRequest, null );
        String attr =
                ScopedServletUtils.getScopedSessionAttrName( InternalConstants.FACES_BACKING_ATTR, unwrappedRequest );
        sh.ensureFailover( rc, attr, this );
    }

    /**
     * Get the display name for the bean.  For FacesBackingBeans, this is simply the class name.
     */
View Full Code Here

Examples of org.apache.beehive.netui.pageflow.handler.StorageHandler.ensureFailover()

        StorageHandler sh = Handlers.get( getServletContext() ).getStorageHandler();
        HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart( request );
        RequestContext rc = new RequestContext( unwrappedRequest, null );
        String attr =
                ScopedServletUtils.getScopedSessionAttrName( InternalConstants.FACES_BACKING_ATTR, unwrappedRequest );
        sh.ensureFailover( rc, attr, this );
    }

    /**
     * Get the display name for the bean.  For FacesBackingBeans, this is simply the class name.
     */
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.