Package org.jboss.weld.context

Examples of org.jboss.weld.context.ConversationContext.invalidate()


   {
      super.detach();
      ConversationContext conversationContext = instance().select(HttpConversationContext.class).get();
      try
      {
         conversationContext.invalidate();
      }
      catch (Exception e)
      {
      }
      try
View Full Code Here


    @Override
    public void detach() {
        super.detach();
        ConversationContext conversationContext = instance().select(HttpConversationContext.class).get();
        try {
            conversationContext.invalidate();
        } catch (Exception e) {
        }
        try {
            conversationContext.deactivate();
        } catch (Exception e) {
View Full Code Here

                    ConversationLogger.LOG.cleaningUpTransientConversation();
                } else {
                    ConversationLogger.LOG.cleaningUpConversation(conversationContext.getCurrentConversation().getId());
                }
            }
            conversationContext.invalidate();
            conversationContext.deactivate();
            if (isTransient) {
                conversationDestroyedEvent.fire(request);
            }
        }
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.