Package org.apache.beehive.netui.pageflow

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


            {
                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

                    // 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

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.