Package org.apache.myfaces.orchestra.conversation

Examples of org.apache.myfaces.orchestra.conversation.FlashScopeManager


   * Invalidates any conversation with aspect {@link ConversationFlashLifetimeAspect}
   * which has not been accessed during a http request
   */
  protected void invalidateFlashConversations(String viewId)
  {
    FlashScopeManager flashManager = FlashScopeManager.getInstance();
    if (flashManager.isIgnoreRequest())
    {
      return;
    }

    if (flashManager.getFlashScopeManagerConfiguration() != null)
    {
      Set ignoredViewIds = flashManager.getFlashScopeManagerConfiguration().getIgnoreViewIds();
      if (ignoredViewIds != null && ignoredViewIds.contains(viewId))
      {
        // The flash configuration has explicitly stated that no conversations should be
        // terminated when processing this specific view, so just return.
        //
View Full Code Here

TOP

Related Classes of org.apache.myfaces.orchestra.conversation.FlashScopeManager

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.