Package org.apache.myfaces.orchestra.conversation

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


     * TODO: what does Spring use this for????
     */
    public String getConversationId()
    {
        ConversationManager manager = ConversationManager.getInstance();
        ConversationContext ctx = manager.getCurrentConversationContext();
        if (ctx != null)
        {
            return Long.toString(ctx.getId(), 10);
        }

        return null;
    }
View Full Code Here


     * TODO: what does Spring use this for????
     */
    public String getConversationId()
    {
        ConversationManager manager = ConversationManager.getInstance();
        ConversationContext ctx = manager.getCurrentConversationContext();
        if (ctx != null)
        {
            return Long.toString(ctx.getId(), 10);
        }

        return null;
    }
View Full Code Here

     * TODO: what does Spring use this for????
     */
    public String getConversationId()
    {
        ConversationManager manager = ConversationManager.getInstance();
        ConversationContext ctx = manager.getCurrentConversationContext();
        if (ctx != null)
        {
            return Long.toString(ctx.getId(), 10);
        }

        return null;
    }
View Full Code Here

     * TODO: what does Spring use this for????
     */
    public String getConversationId()
    {
        ConversationManager manager = ConversationManager.getInstance();
        ConversationContext ctx = manager.getCurrentConversationContext();
        if (ctx != null)
        {
            return Long.toString(ctx.getId(), 10);
        }

        return null;
    }
View Full Code Here

      if (serializeRequests)
      {
        ConversationManager manager = ConversationManager.getInstance(false);
        if (manager != null)
        {
          ConversationContext conversationContext = manager.getCurrentConversationContext();
          if (conversationContext != null)
          {
            synchronized(conversationContext)
            {
              mutex = conversationContext.getAttribute(CONTEXT_MUTEXT_OBJECT);
              if (mutex == null)
              {
                mutex = new Object();
                conversationContext.setAttribute(CONTEXT_MUTEXT_OBJECT, mutex);
              }
            }
          }
        }
      }
View Full Code Here

TOP

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

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.