Package org.apache.webbeans.spi.conversation

Examples of org.apache.webbeans.spi.conversation.ConversationService


    }

    @Override
    protected Conversation createInstance(CreationalContext<Conversation> creationalContext)
    {
        ConversationService conversationService = ServiceLoader.getService(ConversationService.class);
       
        String conversationId = conversationService.getConversationId();
       
        Conversation conversation = null;

        if (conversationId != null)
        {
            conversation = ConversationManager.getInstance().getConversation(conversationId);
        }
        else
        {
            conversation = new ConversationImpl(conversationService.getConversationSessionId());
        }

        return conversation;
    }
View Full Code Here


    }

    @Override
    protected Conversation createInstance(CreationalContext<Conversation> creationalContext)
    {
        ConversationService conversationService = ServiceLoader.getService(ConversationService.class);
       
        String conversationId = conversationService.getConversationId();
       
        Conversation conversation = null;

        if (conversationId != null)
        {
            conversation = ConversationManager.getInstance().getConversation(conversationId);
        }
        else
        {
            conversation = new ConversationImpl(conversationService.getConversationSessionId());
        }

        return conversation;
    }
View Full Code Here

TOP

Related Classes of org.apache.webbeans.spi.conversation.ConversationService

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.